]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
netfilter: nft_set_pipapo: remove redundant test for avx feature bit
authorFlorian Westphal <fw@strlen.de>
Sun, 24 Aug 2025 10:44:39 +0000 (12:44 +0200)
committerFlorian Westphal <fw@strlen.de>
Tue, 2 Sep 2025 13:28:17 +0000 (15:28 +0200)
commit8959f27d39d65d759b0eb3aab248ffac27d531d7
tree09e7dd17f6ae0ccdab8122aac12042a4cd2fe065
parent3d95a2e016abab29ccb6f384576b2038e544a5a8
netfilter: nft_set_pipapo: remove redundant test for avx feature bit

Sebastian points out that avx2 depends on avx, see check_cpufeature_deps()
in arch/x86/kernel/cpu/cpuid-deps.c:
avx2 feature bit will be cleared when avx isn't available.

No functional change intended.

Reported-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Reviewed-by: Stefano Brivio <sbrivio@redhat.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
net/netfilter/nft_set_pipapo.c
net/netfilter/nft_set_pipapo_avx2.c