linux/drivers/scsi/aacraid
Colin Ian King fbdab3e7fd scsi: aacraid: remove redundant zero check on ret
The check for ret being zero is redundant as a few statements earlier we
break out of the while loop if ret is non-zero.  Thus we can remove the
zero check and also the dead-code non-zero case too.

Detected by CoverityScan, CID#1411632 ("Logically Dead Code")

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Dave Carroll <david.carroll@microsemi.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2017-02-27 22:19:43 -05:00
..
aachba.c scsi: aacraid: Save adapter fib log before an IOP reset 2017-02-22 18:41:42 -05:00
aacraid.h scsi: aacraid: Update driver version 2017-02-22 18:41:42 -05:00
commctrl.c scsi: aacraid: Use correct channel number for raw srb 2017-02-22 18:41:41 -05:00
comminit.c scsi: aacraid: Fix sync fibs time out on controller reset 2017-02-22 18:41:42 -05:00
commsup.c scsi: aacraid: remove redundant zero check on ret 2017-02-27 22:19:43 -05:00
dpcsup.c scsi: aacraid: Update copyrights 2017-02-03 10:35:04 -05:00
linit.c scsi: aacraid: Added sysfs for driver version 2017-02-22 18:41:42 -05:00
Makefile [SCSI] aacraid: Add new code for PMC-Sierra's SRC based controller family 2011-03-23 11:36:58 -05:00
nark.c scsi: aacraid: Update copyrights 2017-02-03 10:35:04 -05:00
rkt.c scsi: aacraid: Update copyrights 2017-02-03 10:35:04 -05:00
rx.c scsi: aacraid: Fix camel case 2017-02-22 18:41:41 -05:00
sa.c scsi: aacraid: Update copyrights 2017-02-03 10:35:04 -05:00
src.c scsi: aacraid: Save adapter fib log before an IOP reset 2017-02-22 18:41:42 -05:00
TODO