OSDN Git Service

blk-mq: cleanup blk_mq_get_driver_tag()
authorMing Lei <ming.lei@redhat.com>
Mon, 25 Jun 2018 11:31:45 +0000 (19:31 +0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 9 Jul 2018 15:07:52 +0000 (09:07 -0600)
commit8ab6bb9ee8d04ba56b9eb19cc7e4f56d0a43ad1a
treee0c888c58dd540bcfc50154b70d22526efe9109e
parent277a4a9b56cde0f3d53ea8abc0e43ff636820007
blk-mq: cleanup blk_mq_get_driver_tag()

We never pass 'wait' as true to blk_mq_get_driver_tag(), and hence
we never change '**hctx' as well. The last use of these went away
with the flush cleanup, commit 0c2a6fe4dc3e.

So cleanup the usage and remove the two extra parameters.

Cc: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Christoph Hellwig <hch@lst.de>
Tested-by: Andrew Jones <drjones@redhat.com>
Reviewed-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c
block/blk-mq.h