mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-15 19:56:03 +00:00
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:
parent
559ae7a26b
commit
a8cf5c1bee
1 changed files with 0 additions and 5 deletions
Loading…
Add table
Add a link
Reference in a new issue