liblzma: CRC CLMUL: Omit is_arch_extension_supported() when not needed
commitff697eb154361417d94284e0c569aa08cacf9031
authorLasse Collin <lasse.collin@tukaani.org>
Sun, 16 Jun 2024 10:39:37 +0000 (16 13:39 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Fri, 6 Sep 2024 16:00:30 +0000 (6 19:00 +0300)
tree29fa70e148d677da5fbd8be5fa7cf3f567627abf
parent4e4a568f6a089c867891c2388a19624e312eb2f3
liblzma: CRC CLMUL: Omit is_arch_extension_supported() when not needed

On E2K the function compiles only due to compiler emulation but the
function is never used. It's cleaner to omit the function when it's
not needed even though it's a "static inline" function.

Thanks to Ilya Kurdyukov.

(cherry picked from commit 30a2d5d51006301a3ddab5ef1f5ff0a9d74dce6f)
src/liblzma/check/crc_x86_clmul.h