Skip to content

Commit 284ca76

Browse files
luo penghaoummakynes
authored andcommitted
netfilter: conntrack: Remove useless assignment statements
The old_size assignment here will not be used anymore The clang_analyzer complains as follows: Value stored to 'old_size' is never read Reported-by: Zeal Robot <[email protected]> Signed-off-by: luo penghao <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]>
1 parent 28b78ec commit 284ca76

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

net/netfilter/nf_conntrack_core.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2588,7 +2588,6 @@ int nf_conntrack_hash_resize(unsigned int hashsize)
25882588
hlist_nulls_add_head_rcu(&h->hnnode, &hash[bucket]);
25892589
}
25902590
}
2591-
old_size = nf_conntrack_htable_size;
25922591
old_hash = nf_conntrack_hash;
25932592

25942593
nf_conntrack_hash = hash;

0 commit comments

Comments
 (0)