diff options
author | Colin Ian King <colin.i.king@gmail.com> | 2022-03-18 04:20:35 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-03-19 00:18:41 +0300 |
commit | 79fdce0513aceff7666e2e4dfa8fc28ea381d3a7 (patch) | |
tree | 72a1b42ec8e7517ce90cae6a8aa0b01308a824f8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 0978e5919c2853c31971ccdf4b31eb690cc45fb5 (diff) | |
download | linux-79fdce0513aceff7666e2e4dfa8fc28ea381d3a7.tar.xz |
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 <colin.i.king@gmail.com>
Link: https://lore.kernel.org/r/20220318012035.89482-1-colin.i.king@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions