aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/storage/uas.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/usb/storage/uas.c
parentf532a3f9c47a88b5a4a0c1186d9030cde0e120d2 (diff)
downloadlinux-b84b1d522f979fb53ad347605e24b2940fa2ad99.tar.gz
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/usb/storage/uas.c')
-rw-r--r--drivers/usb/storage/uas.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/storage/uas.c b/drivers/usb/storage/uas.c
index 6cdabdc119a73b..56b97fe1d18eea 100644
--- a/drivers/usb/storage/uas.c
+++ b/drivers/usb/storage/uas.c
@@ -803,7 +803,6 @@ static struct scsi_host_template uas_host_template = {
.can_queue = 65536, /* Is there a limit on the _host_ ? */
.this_id = -1,
.sg_tablesize = SG_NONE,
- .cmd_per_lun = 1, /* until we override it */
.skip_settle_delay = 1,
.use_blk_tags = 1,
};