summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/pm8001
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2015-04-29 08:57:34 +0200
committerJames Bottomley <JBottomley@Odin.com>2015-05-31 18:06:28 -0700
commitb84b1d522f979fb53ad347605e24b2940fa2ad99 (patch)
treef3d5066024ecf631a27e4f4a3fe35910f7b25356 /drivers/scsi/pm8001
parentf532a3f9c47a88b5a4a0c1186d9030cde0e120d2 (diff)
downloadtalos-op-linux-b84b1d522f979fb53ad347605e24b2940fa2ad99.tar.gz
talos-op-linux-b84b1d522f979fb53ad347605e24b2940fa2ad99.zip
scsi: Do not set cmd_per_lun to 1 in the host template
'0' is now used as the default cmd_per_lun value, so there's no need to explicitly set it to '1' in the host template. Signed-off-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: James Bottomley <JBottomley@Odin.com>
Diffstat (limited to 'drivers/scsi/pm8001')
-rw-r--r--drivers/scsi/pm8001/pm8001_init.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/pm8001/pm8001_init.c b/drivers/scsi/pm8001/pm8001_init.c
index 65555916d3b8..a132f2664d2f 100644
--- a/drivers/scsi/pm8001/pm8001_init.c
+++ b/drivers/scsi/pm8001/pm8001_init.c
@@ -78,7 +78,6 @@ static struct scsi_host_template pm8001_sht = {
.change_queue_depth = sas_change_queue_depth,
.bios_param = sas_bios_param,
.can_queue = 1,
- .cmd_per_lun = 1,
.this_id = -1,
.sg_tablesize = SG_ALL,
.max_sectors = SCSI_DEFAULT_MAX_SECTORS,
OpenPOWER on IntegriCloud