Merge 5.4-rc7 into staging-next
[linux-2.6-microblaze.git] / net / core / neighbour.c
index f79e61c..5480edf 100644 (file)
@@ -3033,7 +3033,7 @@ static struct neighbour *neigh_get_first(struct seq_file *seq)
        struct net *net = seq_file_net(seq);
        struct neigh_hash_table *nht = state->nht;
        struct neighbour *n = NULL;
-       int bucket = state->bucket;
+       int bucket;
 
        state->flags &= ~NEIGH_SEQ_IS_PNEIGH;
        for (bucket = 0; bucket < (1 << nht->hash_shift); bucket++) {