diff options
| author | Hannes Reinecke <hare@suse.de> | 2015-04-29 02:57:34 -0400 |
|---|---|---|
| committer | James Bottomley <JBottomley@Odin.com> | 2015-05-31 21:06:28 -0400 |
| commit | b84b1d522f979fb53ad347605e24b2940fa2ad99 (patch) | |
| tree | f3d5066024ecf631a27e4f4a3fe35910f7b25356 /drivers/usb/storage | |
| parent | f532a3f9c47a88b5a4a0c1186d9030cde0e120d2 (diff) | |
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')
| -rw-r--r-- | drivers/usb/storage/scsiglue.c | 1 | ||||
| -rw-r--r-- | drivers/usb/storage/uas.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/storage/scsiglue.c b/drivers/usb/storage/scsiglue.c index 0e400f382f3a..996ef1e882d3 100644 --- a/drivers/usb/storage/scsiglue.c +++ b/drivers/usb/storage/scsiglue.c | |||
| @@ -558,7 +558,6 @@ struct scsi_host_template usb_stor_host_template = { | |||
| 558 | 558 | ||
| 559 | /* queue commands only, only one command per LUN */ | 559 | /* queue commands only, only one command per LUN */ |
| 560 | .can_queue = 1, | 560 | .can_queue = 1, |
| 561 | .cmd_per_lun = 1, | ||
| 562 | 561 | ||
| 563 | /* unknown initiator id */ | 562 | /* unknown initiator id */ |
| 564 | .this_id = -1, | 563 | .this_id = -1, |
diff --git a/drivers/usb/storage/uas.c b/drivers/usb/storage/uas.c index 6cdabdc119a7..56b97fe1d18e 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 = { | |||
| 803 | .can_queue = 65536, /* Is there a limit on the _host_ ? */ | 803 | .can_queue = 65536, /* Is there a limit on the _host_ ? */ |
| 804 | .this_id = -1, | 804 | .this_id = -1, |
| 805 | .sg_tablesize = SG_NONE, | 805 | .sg_tablesize = SG_NONE, |
| 806 | .cmd_per_lun = 1, /* until we override it */ | ||
| 807 | .skip_settle_delay = 1, | 806 | .skip_settle_delay = 1, |
| 808 | .use_blk_tags = 1, | 807 | .use_blk_tags = 1, |
| 809 | }; | 808 | }; |
