summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/hosts.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2016-07-13 13:19:05 +0900
committerMartin K. Petersen <martin.petersen@oracle.com>2016-07-15 15:11:20 -0400
commit9aa9cc4221f5154ed93e999662ccfef7b6a82e3e (patch)
tree94557a4eb24940fcdc123cc793aaf54a73635918 /drivers/scsi/hosts.c
parent757f9d7a801236a9c49468af9e64cd7c447c2f8e (diff)
downloadlinux-9aa9cc4221f5154ed93e999662ccfef7b6a82e3e.tar.gz
linux-9aa9cc4221f5154ed93e999662ccfef7b6a82e3e.tar.bz2
linux-9aa9cc4221f5154ed93e999662ccfef7b6a82e3e.zip
scsi: remove the disable_blk_mq host flag
We've had scsi-mq for 2.5 years now, so we can remove the unused flag to disable the code on a per-host basis that was put in for unexpected emergencies during bringup. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/hosts.c')
-rw-r--r--drivers/scsi/hosts.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/hosts.c b/drivers/scsi/hosts.c
index 1547bd93c70b..ba9af4a2bd2a 100644
--- a/drivers/scsi/hosts.c
+++ b/drivers/scsi/hosts.c
@@ -486,8 +486,6 @@ struct Scsi_Host *scsi_host_alloc(struct scsi_host_template *sht, int privsize)
else
shost->dma_boundary = 0xffffffff;
- shost->use_blk_mq = scsi_use_blk_mq && !shost->hostt->disable_blk_mq;
-
device_initialize(&shost->shost_gendev);
dev_set_name(&shost->shost_gendev, "host%d", shost->host_no);
shost->shost_gendev.bus = &scsi_bus_type;