summaryrefslogtreecommitdiff
path: root/drivers/scsi/scsi_lib.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2014-04-08 15:15:35 (GMT)
committerJens Axboe <axboe@fb.com>2014-04-09 16:17:00 (GMT)
commit59c3d45e487315e6e05a3f2310b61109f8e503e7 (patch)
treeb275e73e6ab7dd599d2ec7edd5b9aa6efe361b31 /drivers/scsi/scsi_lib.c
parente69f18f06b97ed29645d020500222bfcec2b42b2 (diff)
downloadlinux-59c3d45e487315e6e05a3f2310b61109f8e503e7.tar.xz
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 'drivers/scsi/scsi_lib.c')
-rw-r--r--drivers/scsi/scsi_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c
index 5681c05..91f99f4 100644
--- a/drivers/scsi/scsi_lib.c
+++ b/drivers/scsi/scsi_lib.c
@@ -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);
}