diff options
author | Jiapeng Chong | 2021-05-17 18:15:25 +0800 |
---|---|---|
committer | David S. Miller | 2021-05-17 16:03:56 -0700 |
commit | 25c55b38d85b54e49f2c9a3c7d483d1a24173b94 (patch) | |
tree | 88f92689cf48f44eb85ca8ea7e8b142999bb1039 /tools/wmi | |
parent | 8ed2e60b7788825d71e70ed26160d327a588dee5 (diff) |
net/packet: Remove redundant assignment to ret
Variable ret is set to '0' or '-EBUSY', but this value is never read
as it is not used later on, hence it is a redundant assignment and
can be removed.
Clean up the following clang-analyzer warning:
net/packet/af_packet.c:3936:4: warning: Value stored to 'ret' is never
read [clang-analyzer-deadcode.DeadStores].
net/packet/af_packet.c:3933:4: warning: Value stored to 'ret' is never
read [clang-analyzer-deadcode.DeadStores].
No functional change.
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/wmi')
0 files changed, 0 insertions, 0 deletions