diff options
author | Jens Axboe <axboe@fb.com> | 2014-04-08 17:15:35 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-04-09 18:17:00 +0200 |
commit | 59c3d45e487315e6e05a3f2310b61109f8e503e7 (patch) | |
tree | b275e73e6ab7dd599d2ec7edd5b9aa6efe361b31 /block/blk-flush.c | |
parent | block: Ensure we only enable integrity metadata for reads and writes (diff) | |
download | linux-59c3d45e487315e6e05a3f2310b61109f8e503e7.tar.xz linux-59c3d45e487315e6e05a3f2310b61109f8e503e7.zip |
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.c | 2 |
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) { if (rq->q->mq_ops) { INIT_WORK(&rq->mq_flush_work, mq_flush_run); - kblockd_schedule_work(rq->q, &rq->mq_flush_work); + kblockd_schedule_work(&rq->mq_flush_work); return false; } else { if (add_front) |