diff options
author | Yang Li <yang.lee@linux.alibaba.com> | 2021-05-08 13:03:05 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-05-11 00:25:13 +0300 |
commit | 48de7c0c1c9225b478c602184be8e00b92b35c61 (patch) | |
tree | f230cc3c7dcb8d07cd72d04ffcecb3e31c921c58 /drivers | |
parent | d2792e91de2bedf829828b091720f0f7920719ed (diff) | |
download | linux-48de7c0c1c9225b478c602184be8e00b92b35c61.tar.xz |
neighbour: Remove redundant initialization of 'bucket'
Integer variable 'bucket' is being initialized however
this value is never read as 'bucket' is assigned zero
in for statement. Remove the redundant assignment.
Cleans up clang warning:
net/core/neighbour.c:3144:6: warning: Value stored to 'bucket' during
its initialization is never read [clang-analyzer-deadcode.DeadStores]
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions