scsi: scsi_debug: Drop NULL scsi_cmnd check in sdebug_q_cmd_complete()

The scp pointer cannot be NULL, as it is evaluated from container_of()
and pointer offsets (so remove the check in sdebug_q_cmd_complete()).

Signed-off-by: John Garry <john.g.garry@oracle.com>
Link: https://patch.msgid.link/20251113133645.2898748-4-john.g.garry@oracle.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
John Garry 2025-11-13 13:36:42 +00:00 • committed by Martin K. Petersen
commit a8cf5c1bee