mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
block: remove 'q' parameter from kblockd_schedule_*_work()
The queue parameter is never used, just get rid of it. Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
parent
e69f18f06b
commit
59c3d45e48
6 changed files with 10 additions and 13 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue