diff options
| author | Zhen Ni <zhen.ni@easystack.cn> | 2025-08-29 16:36:21 +0800 |
|---|---|---|
| committer | Florian Westphal <fw@strlen.de> | 2025-09-11 15:40:55 +0200 |
| commit | ba941796d7cd1e81f51eed145dad1b47240ff420 (patch) | |
| tree | a0e8cde3b40b7a49abcac64f937509f7078b66dd /rust/helpers | |
| parent | 496a6ed8405ef15f6becc0126bf1577717faf86d (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')
0 files changed, 0 insertions, 0 deletions
