commit | f680474345f1fd6329d1806d6358066fd3b07f02 | [log] [tgz] |
---|---|---|
author | weiping zhang <zhangweiping@didichuxing.com> | Thu Nov 23 21:39:40 2017 +0800 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Nov 23 22:00:17 2017 -0700 |
tree | 62b12f06dc8da3d906e24ea0ab6c5cf0d2f7dd43 | |
parent | 612ea091fc77770d659b82ea44a1d5646e0af54c [diff] |
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>