Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5fc36323 authored by Tom Yan's avatar Tom Yan Committed by Greg Kroah-Hartman
Browse files

uas: remove can_queue set in host template



Commit 198de51d ("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.

Signed-off-by: default avatarTom Yan <tom.ty89@gmail.com>
Acked-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 32cb0b37
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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,