scsi: qla2xxx: Split the __qla2x00_abort_all_cmds() function
authorBart Van Assche <bvanassche@acm.org>
Thu, 29 Nov 2018 18:25:11 +0000 (10:25 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 8 Dec 2018 02:39:09 +0000 (21:39 -0500)
commitc4e521b654e15e372a6429e269e7e907b4698224
tree3b611be62cd3eec7db66c79c19b1e28d4300b3f6
parent14e9a890ec9751f0b2aeeed385c836c773fb991a
scsi: qla2xxx: Split the __qla2x00_abort_all_cmds() function

Nesting in __qla2x00_abort_all_cmds() is way too deep. Reduce the nesting
level by introducing a helper function. This patch does not change any
functionality.

Reviewed-by: Laurence Oberman <loberman@redhat.com>
Acked-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_os.c