summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>2021-04-25 18:42:56 +0800
committerDavid S. Miller <davem@davemloft.net>2021-04-26 12:48:30 -0700
commit9176e38027195346f50ab885498678ca7ae55a21 (patch)
tree05948a848d65702c8ad34c6182f32a429a01f135 /net
parent930d2d619d0a341693af4a7db9b37b96434ac65e (diff)
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 'net')
0 files changed, 0 insertions, 0 deletions