linux_dsm_epyc7002/drivers/scsi/qla4xxx
Colin Ian King eec73c2ec1 scsi: qla4xxx: Remove redundant check on drvr_wait
The check for a non-zero drvr_wait is redundant as the same check is performed
earlier in the outer while loop, the inner check will always be true if we
reached this point inside the while loop.  Remove the redundant if check.

Detected by cppcheck:
(warning) Identical inner 'if' condition is always true.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Manish Rangankar <Manish.Rangankar@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2018-09-28 02:13:33 -04:00
..
Kconfig
Makefile
ql4_83xx.c
ql4_83xx.h
ql4_attr.c
ql4_bsg.c
ql4_bsg.h
ql4_dbg.c
ql4_dbg.h
ql4_def.h scsi: qla4xxx: skip error recovery in case of register disconnect. 2018-02-13 21:35:41 -05:00
ql4_fw.h
ql4_glbl.h
ql4_init.c scsi: qla4xxx: Remove redundant check on drvr_wait 2018-09-28 02:13:33 -04:00
ql4_inline.h
ql4_iocb.c
ql4_isr.c
ql4_mbx.c scsi: qla4xxx: Use dma_pool_zalloc() 2018-02-21 22:34:43 -05:00
ql4_nvram.c
ql4_nvram.h
ql4_nx.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
ql4_nx.h scsi: qla4xxx: Move an array from a .h into a .c file 2018-02-12 11:43:24 -05:00
ql4_os.c block: rename BLK_EH_NOT_HANDLED to BLK_EH_DONE 2018-05-29 08:59:21 -06:00
ql4_version.h