lib/crc32: remove other generic implementations

Now that we've standardized on the byte-by-byte implementation of CRC32
as the only generic implementation (see previous commit for the
rationale), remove the code for the other implementations.

Tested with crc_kunit.

Link: https://lore.kernel.org/r/20250123212904.118683-3-ebiggers@kernel.org
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Eric Biggers <ebiggers@google.com>
This commit is contained in:
Eric Biggers
2025-01-23 13:29:04 -08:00
parent b0430f39de
commit 5e3c1c48fa
4 changed files with 42 additions and 363 deletions

View File

@@ -189,7 +189,6 @@ config CRC32
tristate "CRC32/CRC32c functions"
default y
select BITREVERSE
select CRC32_SARWATE
help
This option is provided for the case where no in-kernel-tree
modules require CRC32/CRC32c functions, but a module built outside
@@ -203,9 +202,6 @@ config CRC32_ARCH
tristate
default CRC32 if ARCH_HAS_CRC32 && CRC_OPTIMIZATIONS
config CRC32_SARWATE
bool
config CRC64
tristate "CRC64 functions"
help