diff options
author | 2021-04-25 18:42:56 +0800 | |
---|---|---|
committer | 2021-04-26 12:48:30 -0700 | |
commit | 9176e38027195346f50ab885498678ca7ae55a21 (patch) | |
tree | 05948a848d65702c8ad34c6182f32a429a01f135 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | pcnet32: Remove redundant variable prev_link and curr_link (diff) | |
download | wireguard-linux-9176e38027195346f50ab885498678ca7ae55a21.tar.xz wireguard-linux-9176e38027195346f50ab885498678ca7ae55a21.zip |
net: davicom: Remove redundant assignment to ret
Variable ret is set to zero but this value is never read as it is
overwritten with a new value later on, hence it is a redundant
assignment and can be removed.
Cleans up the following clang-analyzer warning:
drivers/net/ethernet/davicom/dm9000.c:1527:5: warning: Value stored to
'ret' is never read [clang-analyzer-deadcode.DeadStores].
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions