netfilter: ipset: Remove unused htable_bits in macro ahash_region
[ Upstream commit ba941796 ] Since the ahash_region() macro was redefined to calculate the region index solely from HTABLE_REGION_BITS, the htable_bits parameter became unused. Remove the unused htable_bits argument and its call sites, simplifying the code without changing semantics. Fixes: 8478a729 ("netfilter: ipset: fix region locking in hash types") Signed-off-by:Zhen Ni <zhen.ni@easystack.cn> Reviewed-by:
Phil Sutter <phil@nwl.cc> Signed-off-by:
Florian Westphal <fw@strlen.de> Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please sign in to comment