diff options
author | Jens Axboe <axboe@fb.com> | 2014-04-08 11:15:35 -0400 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-04-09 12:17:00 -0400 |
commit | 59c3d45e487315e6e05a3f2310b61109f8e503e7 (patch) | |
tree | b275e73e6ab7dd599d2ec7edd5b9aa6efe361b31 /block/blk-mq.c | |
parent | e69f18f06b97ed29645d020500222bfcec2b42b2 (diff) |
block: remove 'q' parameter from kblockd_schedule_*_work()
The queue parameter is never used, just get rid of it.
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-mq.c')
-rw-r--r-- | block/blk-mq.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/block/blk-mq.c b/block/blk-mq.c index 1d2a9bdbee57..9c8f1f4ada7f 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c | |||
@@ -608,11 +608,8 @@ void blk_mq_run_hw_queue(struct blk_mq_hw_ctx *hctx, bool async) | |||
608 | 608 | ||
609 | if (!async) | 609 | if (!async) |
610 | __blk_mq_run_hw_queue(hctx); | 610 | __blk_mq_run_hw_queue(hctx); |
611 | else { | 611 | else |
612 | struct request_queue *q = hctx->queue; | 612 | kblockd_schedule_delayed_work(&hctx->delayed_work, 0); |
613 | |||
614 | kblockd_schedule_delayed_work(q, &hctx->delayed_work, 0); | ||
615 | } | ||
616 | } | 613 | } |
617 | 614 | ||
618 | void blk_mq_run_queues(struct request_queue *q, bool async) | 615 | void blk_mq_run_queues(struct request_queue *q, bool async) |