diff options
author | Jiapeng Chong <jiapeng.chong@linux.alibaba.com> | 2021-04-25 18:35:18 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-04-26 12:46:10 -0700 |
commit | 930d2d619d0a341693af4a7db9b37b96434ac65e (patch) | |
tree | e9bed78e5dfae277c7204f665c69a9c49a061f7a /sound/ppc | |
parent | eb43c081a6df85e3119226b932ddb9a9572b26e4 (diff) |
pcnet32: Remove redundant variable prev_link and curr_link
Variable prev_link and curr_link is being assigned a value from a
calculation however the variable is never read, so this redundant
variable can be removed.
Cleans up the following clang-analyzer warning:
drivers/net/ethernet/amd/pcnet32.c:2857:4: warning: Value stored to
'prev_link' is never read [clang-analyzer-deadcode.DeadStores].
drivers/net/ethernet/amd/pcnet32.c:2856:4: warning: Value stored to
'curr_link' 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 'sound/ppc')
0 files changed, 0 insertions, 0 deletions