linux/drivers/net/ethernet/qlogic/qlcnic
Colin Ian King f6849d01bd qlcnic: remove redundant zero check on retries counter
At the end of the do while loop the integer counter retries will
always be zero and so the subsequent check to see if it is zero
is always true and therefore redundant.  Remove the redundant check
and always return -EIO on this return path.  Also unbreak the literal
string in dev_err message to clean up a checkpatch warning.

Detected by CoverityScan, CID#744279 ("Logically dead code")

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-09-01 10:33:55 -07:00
..
Makefile
qlcnic_83xx_hw.c qlcnic: Fix tunnel offload for 82xx adapters 2017-06-02 14:30:58 -04:00
qlcnic_83xx_hw.h qlcnic: Fix link configuration with autoneg disabled 2017-05-11 21:39:53 -04:00
qlcnic_83xx_init.c qlcnic: Replace ndo_add/del_vxlan_port with ndo_add/del_udp_enc_port 2016-06-17 20:23:31 -07:00
qlcnic_83xx_vnic.c qlcnic: fix a loop exit condition better 2015-12-24 11:02:35 -05:00
qlcnic_ctx.c qlcnic: Fix a memory leak in error handling path 2017-02-20 10:33:38 -05:00
qlcnic_dcb.c qlcnic: constify qlcnic_dcb_ops structures 2015-12-28 00:44:52 -05:00
qlcnic_dcb.h net: qlcnic: avoid superfluous assignement 2016-08-01 13:47:00 -07:00
qlcnic_ethtool.c qlcnic: Fix link configuration with autoneg disabled 2017-05-11 21:39:53 -04:00
qlcnic_hdr.h
qlcnic_hw.c qlcnic: Fix a sleep-in-atomic bug in qlcnic_82xx_hw_write_wx_2M and qlcnic_82xx_hw_read_wx_2M 2017-06-01 11:42:19 -04:00
qlcnic_hw.h qlcnic: Add support to enable capability to extend minidump for iSCSI 2015-08-10 13:34:28 -07:00
qlcnic_init.c qlcnic: remove redundant zero check on retries counter 2017-09-01 10:33:55 -07:00
qlcnic_io.c drivers: net: generalize napi_complete_done() 2017-01-30 15:10:42 -05:00
qlcnic_main.c qlcnic: Fix tunnel offload for 82xx adapters 2017-06-02 14:30:58 -04:00
qlcnic_minidump.c qlcnic: remove unnecessary static in qlcnic_dump_fw() 2017-07-19 16:33:57 -07:00
qlcnic_sriov_common.c qlcnic: Fix tunnel offload for 82xx adapters 2017-06-02 14:30:58 -04:00
qlcnic_sriov_pf.c net: Update API for VF vlan protocol 802.1ad support 2016-09-24 08:01:26 -04:00
qlcnic_sriov.h net: Update API for VF vlan protocol 802.1ad support 2016-09-24 08:01:26 -04:00
qlcnic_sysfs.c qlogic: make device_attribute const 2017-08-21 10:24:22 -07:00
qlcnic.h qlcnic: Fix tunnel offload for 82xx adapters 2017-06-02 14:30:58 -04:00