]> git.baikalelectronics.ru Git - kernel.git/commit
net: neigh: remove redundant assignment to variable bucket
authorColin Ian King <colin.king@canonical.com>
Fri, 26 Jul 2019 09:46:11 +0000 (10:46 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 27 Jul 2019 20:32:06 +0000 (13:32 -0700)
commit5bab38f3047857b41c3b237e69a9779385b65fea
tree837b3bb79de3063c66a1d99f0bb9a95ad3cf81eb
parent51ac3ccc04d3101a80b1a59a1330d247755b590e
net: neigh: remove redundant assignment to variable bucket

The variable bucket is being initialized with a value that is never
read and it is being updated later with a new value in a following
for-loop. The initialization is redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/neighbour.c