mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-28 21:45:01 +08:00
f6849d01bd
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> |
||
---|---|---|
.. | ||
Makefile | ||
qlcnic_83xx_hw.c | ||
qlcnic_83xx_hw.h | ||
qlcnic_83xx_init.c | ||
qlcnic_83xx_vnic.c | ||
qlcnic_ctx.c | ||
qlcnic_dcb.c | ||
qlcnic_dcb.h | ||
qlcnic_ethtool.c | ||
qlcnic_hdr.h | ||
qlcnic_hw.c | ||
qlcnic_hw.h | ||
qlcnic_init.c | ||
qlcnic_io.c | ||
qlcnic_main.c | ||
qlcnic_minidump.c | ||
qlcnic_sriov_common.c | ||
qlcnic_sriov_pf.c | ||
qlcnic_sriov.h | ||
qlcnic_sysfs.c | ||
qlcnic.h |