summaryrefslogtreecommitdiff
path: root/drivers/firewire/sbp2.c
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/firewire/sbp2.c
parentf532a3f9c47a88b5a4a0c1186d9030cde0e120d2 (diff)
downloadlinux-rpi-b84b1d522f979fb53ad347605e24b2940fa2ad99.tar.gz
linux-rpi-b84b1d522f979fb53ad347605e24b2940fa2ad99.tar.bz2
linux-rpi-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/firewire/sbp2.c')
-rw-r--r--drivers/firewire/sbp2.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/firewire/sbp2.c b/drivers/firewire/sbp2.c
index c22606fe3d44..6bac03999fd4 100644
--- a/drivers/firewire/sbp2.c
+++ b/drivers/firewire/sbp2.c
@@ -1611,7 +1611,6 @@ static struct scsi_host_template scsi_driver_template = {
.this_id = -1,
.sg_tablesize = SG_ALL,
.use_clustering = ENABLE_CLUSTERING,
- .cmd_per_lun = 1,
.can_queue = 1,
.sdev_attrs = sbp2_scsi_sysfs_attrs,
};