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>
This commit is contained in:
@@ -139,7 +139,7 @@ static void __scsi_queue_insert(struct scsi_cmnd *cmd, int reason, int unbusy)
|
||||
*/
|
||||
spin_lock_irqsave(q->queue_lock, flags);
|
||||
blk_requeue_request(q, cmd->request);
|
||||
kblockd_schedule_work(q, &device->requeue_work);
|
||||
kblockd_schedule_work(&device->requeue_work);
|
||||
spin_unlock_irqrestore(q->queue_lock, flags);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user