aboutsummaryrefslogtreecommitdiffstats
path: root/block/blk-flush.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2014-04-08 11:15:35 -0400
committerJens Axboe <axboe@fb.com>2014-04-09 12:17:00 -0400
commit59c3d45e487315e6e05a3f2310b61109f8e503e7 (patch)
treeb275e73e6ab7dd599d2ec7edd5b9aa6efe361b31 /block/blk-flush.c
parente69f18f06b97ed29645d020500222bfcec2b42b2 (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-flush.c')
-rw-r--r--block/blk-flush.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-flush.c b/block/blk-flush.c
index 43e6b4755e9a..77f20458910c 100644
--- a/block/blk-flush.c
+++ b/block/blk-flush.c
@@ -144,7 +144,7 @@ static bool blk_flush_queue_rq(struct request *rq, bool add_front)
144{ 144{
145 if (rq->q->mq_ops) { 145 if (rq->q->mq_ops) {
146 INIT_WORK(&rq->mq_flush_work, mq_flush_run); 146 INIT_WORK(&rq->mq_flush_work, mq_flush_run);
147 kblockd_schedule_work(rq->q, &rq->mq_flush_work); 147 kblockd_schedule_work(&rq->mq_flush_work);
148 return false; 148 return false;
149 } else { 149 } else {
150 if (add_front) 150 if (add_front)