mirror of
https://github.com/torvalds/linux.git
synced 2026-11-20 21:12:43 +00:00
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: 8478a729c0 ("netfilter: ipset: fix region locking in hash types")
Signed-off-by: Zhen Ni <[email protected]>
Reviewed-by: Phil Sutter <[email protected]>
Signed-off-by: Florian Westphal <[email protected]>