aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/block/blk-mq.c
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 /block/blk-mq.c
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 'block/blk-mq.c')
-rw-r--r--block/blk-mq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-mq.c b/block/blk-mq.c
index ec6c79578332..b66cca3ce1e5 100644
--- a/block/blk-mq.c
+++ b/block/blk-mq.c
@@ -3380,7 +3380,7 @@ static int blk_mq_poll(struct request_queue *q, blk_qc_t cookie)
hctx->poll_invoked++;
- ret = q->mq_ops->poll(hctx, -1U);
+ ret = q->mq_ops->poll(hctx);
if (ret > 0) {
hctx->poll_success++;
__set_current_state(TASK_RUNNING);