linux/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 scsi: qla4xxx: shut up warning for rd_reg_indirect 2016-02-23 21:27:02 -05:00
ql4_83xx.h
ql4_attr.c
ql4_bsg.c qla4xxx: Fix printk() in qla4_83xx_read_reset_template() and qla4_83xx_pre_loopback_config() 2015-05-26 15:22:17 +02:00
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 scsi: qla4xxx: switch to pci_alloc_irq_vectors 2016-12-07 18:58:58 -05:00
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 scsi: qla4xxx: switch to pci_alloc_irq_vectors 2016-12-07 18:58:58 -05:00
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