Skip to content
Commit f6804743 authored by weiping zhang's avatar weiping zhang Committed by Jens Axboe
Browse files

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: default avatarweiping zhang <zhangweiping@didichuxing.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 612ea091
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment