diff options
author | Jens Axboe <axboe@kernel.dk> | 2018-11-16 09:48:21 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-11-26 08:25:44 -0700 |
commit | 9743139c5d11ab170f70a308dcb88c342390adfb (patch) | |
tree | e9dd6ce82517e1ae148e804a78b6554ba4f1d126 /include/linux/blk-mq.h | |
parent | 1052b8ac5282daf35df331edcbdb645839d17e6a (diff) | |
download | linux-9743139c5d11ab170f70a308dcb88c342390adfb.tar.gz linux-9743139c5d11ab170f70a308dcb88c342390adfb.tar.bz2 linux-9743139c5d11ab170f70a308dcb88c342390adfb.zip |
blk-mq: remove 'tag' parameter from mq_ops->poll()
We always pass in -1 now and none of the callers use the tag value,
remove the parameter.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/blk-mq.h')
-rw-r--r-- | include/linux/blk-mq.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/blk-mq.h b/include/linux/blk-mq.h index 929e8abc5535..ca0520ca6437 100644 --- a/include/linux/blk-mq.h +++ b/include/linux/blk-mq.h @@ -132,7 +132,7 @@ typedef void (exit_request_fn)(struct blk_mq_tag_set *set, struct request *, typedef bool (busy_iter_fn)(struct blk_mq_hw_ctx *, struct request *, void *, bool); typedef bool (busy_tag_iter_fn)(struct request *, void *, bool); -typedef int (poll_fn)(struct blk_mq_hw_ctx *, unsigned int); +typedef int (poll_fn)(struct blk_mq_hw_ctx *); typedef int (map_queues_fn)(struct blk_mq_tag_set *set); typedef bool (busy_fn)(struct request_queue *); typedef void (complete_fn)(struct request *); |