aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/scsi/scsi_host.h
diff options
context:
space:
mode:
authorEwan D. Milne <emilne@redhat.com>2021-10-29 15:43:11 -0400
committerMartin K. Petersen <martin.petersen@oracle.com>2021-11-18 21:41:56 -0500
commit54d816d3d36293728ffc8488fae14b002d4b4a64 (patch)
treef2692cf1694969758d3f6c233638e42ca243e715 /include/scsi/scsi_host.h
parentLinux 5.16-rc1 (diff)
downloadwireguard-linux-54d816d3d36293728ffc8488fae14b002d4b4a64.tar.xz
wireguard-linux-54d816d3d36293728ffc8488fae14b002d4b4a64.zip
scsi: core: Simplify control flow in scmd_eh_abort_handler()
Simplify the nested conditionals in the function by using a label for the error path. Introduce local "shost" to avoid repeated "sdev->shost" usage. Also remove scsi_eh_complete_abort() since there is now only one place it would be called. Link: https://lore.kernel.org/r/20211029194311.17504-3-emilne@redhat.com Signed-off-by: Ewan D. Milne <emilne@redhat.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/scsi/scsi_host.h')
0 files changed, 0 insertions, 0 deletions