diff options
author | weiping zhang <zhangweiping@didichuxing.com> | 2017-11-23 14:39:40 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-11-24 06:00:17 +0100 |
commit | f680474345f1fd6329d1806d6358066fd3b07f02 (patch) | |
tree | 62b12f06dc8da3d906e24ea0ab6c5cf0d2f7dd43 /Documentation/security | |
parent | blk-wbt: remove duplicated setting in wbt_init (diff) | |
download | linux-f680474345f1fd6329d1806d6358066fd3b07f02.tar.xz linux-f680474345f1fd6329d1806d6358066fd3b07f02.zip |
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 'Documentation/security')
0 files changed, 0 insertions, 0 deletions