aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_debug.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2018-11-01 18:36:27 -0400
committerJens Axboe <axboe@kernel.dk>2018-11-07 15:42:32 -0500
commitf664a3cc17b7d0a2bc3b3ab96181e1029b0ec0e6 (patch)
treed49b6866c48f12638ae5e8dcbddf97d0074243e4 /drivers/scsi/scsi_debug.c
parent3a7ea2c483a53fc89e336f69c6ee1d7defe00811 (diff)
scsi: kill off the legacy IO path
This removes the legacy (non-mq) IO path for SCSI. Cc: linux-scsi@vger.kernel.org Acked-by: Himanshu Madhani <himanshu.madhani@cavium.com> Reviewed-by: Hannes Reinecke <hare@suse.com> Tested-by: Ming Lei <ming.lei@redhat.com> Reviewed-by: Omar Sandoval <osandov@fb.com> Acked-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/scsi/scsi_debug.c')
-rw-r--r--drivers/scsi/scsi_debug.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/scsi_debug.c b/drivers/scsi/scsi_debug.c
index 60bcc6df97a9..4740f1e9dd17 100644
--- a/drivers/scsi/scsi_debug.c
+++ b/drivers/scsi/scsi_debug.c
@@ -5881,8 +5881,7 @@ static int sdebug_driver_probe(struct device *dev)
5881 } 5881 }
5882 /* Decide whether to tell scsi subsystem that we want mq */ 5882 /* Decide whether to tell scsi subsystem that we want mq */
5883 /* Following should give the same answer for each host */ 5883 /* Following should give the same answer for each host */
5884 if (shost_use_blk_mq(hpnt)) 5884 hpnt->nr_hw_queues = submit_queues;
5885 hpnt->nr_hw_queues = submit_queues;
5886 5885
5887 sdbg_host->shost = hpnt; 5886 sdbg_host->shost = hpnt;
5888 *((struct sdebug_host_info **)hpnt->hostdata) = sdbg_host; 5887 *((struct sdebug_host_info **)hpnt->hostdata) = sdbg_host;