linux/drivers/net/ethernet/qlogic
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
..
netxen Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-08-21 17:06:42 -07:00
qed qed: fix spelling mistake: "calescing" -> "coalescing" 2017-08-30 15:32:16 -07:00
qede qed: Read per queue coalesce from hardware 2017-07-27 00:05:22 -07:00
qlcnic qlcnic: remove redundant zero check on retries counter 2017-09-01 10:33:55 -07:00
qlge qlge: fix duplicated code for different branches 2017-08-14 10:58:10 -07:00
Kconfig qed: Add support for hardware offloaded FCoE. 2017-02-19 18:10:42 -05:00
Makefile qede: Add basic Network driver 2015-10-27 19:34:47 -07:00
qla3xxx.c net: qlogic: qla3xxx: use new api ethtool_{get|set}_link_ksettings 2017-02-20 10:27:17 -05:00
qla3xxx.h