scsi: scsi_debug: Drop check for num_in_q exceeding queue depth
authorJohn Garry <john.g.garry@oracle.com>
Mon, 13 Mar 2023 09:31:11 +0000 (09:31 +0000)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 17 Mar 2023 03:25:37 +0000 (23:25 -0400)
commit0befb8790969087946f5726d8d80b4f83053ea21
treeb4be3ff436c94b0cbf12112979113a10ebeec898
parent9c2303820bf033f798fe14a856d7df431640001b
scsi: scsi_debug: Drop check for num_in_q exceeding queue depth

The per-device num_in_q value cannot exceed the device queue depth, so drop
the check.

Signed-off-by: John Garry <john.g.garry@oracle.com>
Acked-by: Douglas Gilbert <dgilbert@interlog.com>
Link: https://lore.kernel.org/r/20230313093114.1498305-9-john.g.garry@oracle.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/scsi_debug.c