diff options
author | weiping zhang <zhangweiping@didichuxing.com> | 2017-11-23 16:39:40 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-11-24 08:00:17 +0300 |
commit | f680474345f1fd6329d1806d6358066fd3b07f02 (patch) | |
tree | 62b12f06dc8da3d906e24ea0ab6c5cf0d2f7dd43 /block/blk-wbt.c | |
parent | 612ea091fc77770d659b82ea44a1d5646e0af54c (diff) | |
download | linux-f680474345f1fd6329d1806d6358066fd3b07f02.tar.xz |
blk-sysfs: remove NULL pointer checking in queue_wb_lat_store
wbt_init doesn't set q->rq_wb to NULL, if wbt_init return 0,
so check return value is enough, remove NULL checking.
Signed-off-by: weiping zhang <zhangweiping@didichuxing.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-wbt.c')
0 files changed, 0 insertions, 0 deletions