summaryrefslogtreecommitdiff
path: root/block/blk-mq.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2018-11-16 19:48:21 +0300
committerJens Axboe <axboe@kernel.dk>2018-11-26 18:25:44 +0300
commit9743139c5d11ab170f70a308dcb88c342390adfb (patch)
treee9dd6ce82517e1ae148e804a78b6554ba4f1d126 /block/blk-mq.c
parent1052b8ac5282daf35df331edcbdb645839d17e6a (diff)
downloadlinux-9743139c5d11ab170f70a308dcb88c342390adfb.tar.xz
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);