diff options
author | Jiapeng Chong <jiapeng.chong@linux.alibaba.com> | 2021-04-25 13:42:56 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-04-26 22:48:30 +0300 |
commit | 9176e38027195346f50ab885498678ca7ae55a21 (patch) | |
tree | 05948a848d65702c8ad34c6182f32a429a01f135 /Documentation | |
parent | 930d2d619d0a341693af4a7db9b37b96434ac65e (diff) | |
download | linux-9176e38027195346f50ab885498678ca7ae55a21.tar.xz |
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 'Documentation')
0 files changed, 0 insertions, 0 deletions