diff options
author | luo penghao <luo.penghao@zte.com.cn> | 2021-12-08 08:57:06 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-12-16 00:17:40 +0100 |
commit | 284ca7647c67683b32f4f8c0dec6cc38cb2cb9f8 (patch) | |
tree | 254618996da90be7da6473bee3568f6b08c07d5b | |
parent | netfilter: bridge: add support for pppoe filtering (diff) | |
download | linux-284ca7647c67683b32f4f8c0dec6cc38cb2cb9f8.tar.xz linux-284ca7647c67683b32f4f8c0dec6cc38cb2cb9f8.zip |
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 <zealci@zte.com.cn>
Signed-off-by: luo penghao <luo.penghao@zte.com.cn>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
-rw-r--r-- | net/netfilter/nf_conntrack_core.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/netfilter/nf_conntrack_core.c b/net/netfilter/nf_conntrack_core.c index aa657db18318..b622ef143415 100644 --- a/net/netfilter/nf_conntrack_core.c +++ b/net/netfilter/nf_conntrack_core.c @@ -2588,7 +2588,6 @@ int nf_conntrack_hash_resize(unsigned int hashsize) hlist_nulls_add_head_rcu(&h->hnnode, &hash[bucket]); } } - old_size = nf_conntrack_htable_size; old_hash = nf_conntrack_hash; nf_conntrack_hash = hash; |