OSDN Git Service

blk-mq: Make blk_mq_run_hw_queue() return void
authorJohn Garry <john.garry@huawei.com>
Tue, 29 Oct 2019 16:59:30 +0000 (00:59 +0800)
committerJens Axboe <axboe@kernel.dk>
Fri, 1 Nov 2019 14:42:41 +0000 (08:42 -0600)
commit626fb735a43ddcb7b2c58c27cb03b098acc03339
tree6c94f7de88de20bc3bdea309fac5ee362eb8da80
parent9a7f12edf8848a9b355a86fc0183d7be932ef11e
blk-mq: Make blk_mq_run_hw_queue() return void

Since commit 97889f9ac24f ("blk-mq: remove synchronize_rcu() from
blk_mq_del_queue_tag_set()"), the return value of blk_mq_run_hw_queue()
is never checked, so make it return void, which very marginally simplifies
the code.

Reviewed-by: Bob Liu <bob.liu@oracle.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c
include/linux/blk-mq.h