aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/blk-mq.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2018-11-16 09:48:21 -0700
committerJens Axboe <axboe@kernel.dk>2018-11-26 08:25:44 -0700
commit9743139c5d11ab170f70a308dcb88c342390adfb (patch)
treee9dd6ce82517e1ae148e804a78b6554ba4f1d126 /include/linux/blk-mq.h
parentblk-mq: when polling for IO, look for any completion (diff)
downloadwireguard-linux-9743139c5d11ab170f70a308dcb88c342390adfb.tar.xz
wireguard-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.h2
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 *);