Commit 284ca764 authored by luo penghao's avatar luo penghao Committed by Pablo Neira Ayuso
Browse files

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: default avatarZeal Robot <zealci@zte.com.cn>
Signed-off-by: default avatarluo penghao <luo.penghao@zte.com.cn>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent 28b78ecf
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;