scsi: qla2xxx: Simplify qla24xx_async_abort_cmd()
authorBart Van Assche <bvanassche@acm.org>
Fri, 9 Aug 2019 03:02:18 +0000 (20:02 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 13 Aug 2019 01:34:09 +0000 (21:34 -0400)
commitfe6b52c9adbcce03c549d07c3db06b1694581225
treeace072a1c10b0a5aa327444da4730011dc9642e8
parent1778a0e7bff8d4468658e7b4e5a16d99048cd7a8
scsi: qla2xxx: Simplify qla24xx_async_abort_cmd()

Make the code easier to read by converting 'goto' statements into
'return' statements.

Cc: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Tested-by: Himanshu Madhani <hmadhani@marvell.com>
Reviewed-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_init.c