Skip to contentSkip to conversation

uas: remove can_queue set in host template

PATCH In review [email protected] 2 participants 2 messages May 23, 2016 – May 24, 2016

Subsystems (5)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 uas: remove can_queue set in host template

From: Tom Yan <[email protected]>

Commit 198de51dbc34 ("USB: uas: Limit qdepth at the scsi-host level") made qdepth limit set in host template (.can_queue = MAX_CMNDS) redundant. Removing it to avoid confusion.

drivers/usb/storage/uas.c +0 -1
index 4d49fce..e03c490 100644
@@ -848,7 +848,6 @@ static struct scsi_host_template uas_host_template = {
 	.slave_configure = uas_slave_configure,
 	.eh_abort_handler = uas_eh_abort_handler,
 	.eh_bus_reset_handler = uas_eh_bus_reset_handler,
-	.can_queue = MAX_CMNDS,
 	.this_id = -1,
 	.sg_tablesize = SG_NONE,
 	.skip_settle_delay = 1,
Signature · 1 line
2.8.2
Acked-by on v2 1/1
#1 lore raw

Hi,

Quoted 7 lines · On 23-05-16 21:28, [email protected] wrote:

From: Tom Yan <[email protected]>

Commit 198de51dbc34 ("USB: uas: Limit qdepth at the scsi-host level") made qdepth limit set in host template (.can_queue = MAX_CMNDS) redundant. Removing it to avoid confusion.

I agree removing this is good:

Regards,

Hans

Quoted 14 lines
drivers/usb/storage/uas.c +0 -1
index 4d49fce..e03c490 100644
@@ -848,7 +848,6 @@ static struct scsi_host_template uas_host_template = {
 	.slave_configure = uas_slave_configure,
 	.eh_abort_handler = uas_eh_abort_handler,
 	.eh_bus_reset_handler = uas_eh_bus_reset_handler,
-	.can_queue = MAX_CMNDS,
 	.this_id = -1,
 	.sg_tablesize = SG_NONE,
 	.skip_settle_delay = 1,