aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2022-03-18 01:20:35 +0000
committerJakub Kicinski <[email protected]>2022-03-18 14:18:41 -0700
commit79fdce0513aceff7666e2e4dfa8fc28ea381d3a7 (patch)
tree72a1b42ec8e7517ce90cae6a8aa0b01308a824f8 /net/lapb/lapb_timer.c
parent0978e5919c2853c31971ccdf4b31eb690cc45fb5 (diff)
qlcnic: remove redundant assignment to variable index
Variable index is being assigned a value that is never read, it is being re-assigned later in a following for-loop. The assignment is redundant and can be removed. Cleans up clang scan build warning: drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c:1358:17: warning: Although the value stored to 'index' is used in the enclosing expression, the value is never actually read from 'index' [deadcode.DeadStores] Signed-off-by: Colin Ian King <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions