OpenCloudOS-Kernel/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 qla4xxx: Added new opcodes for 84XX Minidump template 2014-05-19 19:12:13 +02:00
ql4_attr.c [SCSI] qla4xxx: Update Copyright header 2013-09-03 07:27:54 -07:00
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 [SCSI] qla4xxx: Added support for Diagnostics MBOX command 2013-12-19 20:56:25 -08:00
ql4_dbg.c [SCSI] qla4xxx: Added support for ISP8042 2013-09-03 07:27:53 -07:00
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 qla4xxx: Add support of 0xFF capture mask for minidump 2014-05-19 19:12:13 +02:00
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 [SCSI] qla4xxx: Add support to set CHAP entries 2013-10-25 09:58:01 +01:00
ql4_iocb.c scsi: remove abuses of scsi_populate_tag 2014-11-12 11:19:41 +01:00
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 [SCSI] qla4xxx: Update Copyright header 2013-09-03 07:27:54 -07:00
ql4_nvram.h [SCSI] qla4xxx: Update Copyright header 2013-09-03 07:27:54 -07:00
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 qla4xxx: Update driver version to 5.04.00-k6 2014-05-19 19:12:21 +02:00