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)
commitf530eed65bcaf9f74c312bbea09a36a27c48e06c
tree837b3bb79de3063c66a1d99f0bb9a95ad3cf81eb
parentcd8ae2073963eff4c318d0a1f0e91fc35f0c6a83
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