summaryrefslogtreecommitdiff
path: root/rust/helpers/platform.c
diff options
context:
space:
mode:
authorZhen Ni <zhen.ni@easystack.cn>2025-08-29 16:36:21 +0800
committerFlorian Westphal <fw@strlen.de>2025-09-11 15:40:55 +0200
commitba941796d7cd1e81f51eed145dad1b47240ff420 (patch)
treea0e8cde3b40b7a49abcac64f937509f7078b66dd /rust/helpers/platform.c
parent496a6ed8405ef15f6becc0126bf1577717faf86d (diff)
netfilter: ipset: Remove unused htable_bits in macro ahash_region
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: 8478a729c046 ("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>
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions