]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mips/crc32: remove unused enums
authorEric Biggers <ebiggers@google.com>
Sat, 8 Feb 2025 02:49:06 +0000 (18:49 -0800)
committerEric Biggers <ebiggers@google.com>
Sun, 9 Feb 2025 04:06:30 +0000 (20:06 -0800)
commit92ef2ce86ac95f2d25673854d89f13c136a0aff3
tree703f6d95d0c56849b3b6177a96c9d0bef28f518c
parent79fbe85a0310cb6103379f207356997179f400e9
mips/crc32: remove unused enums

Remove enum crc_op_size and enum crc_type, since they are never actually
used.  Tokens with the names of the enum values do appear in the file,
but they are only used for token concatenation with the preprocessor.

This prevents a conflict with the addition of crc32c() to linux/crc32.h.

Reported-by: Nathan Chancellor <nathan@kernel.org>
Closes: https://lore.kernel.org/r/20250207224233.GA1261167@ax162
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20250208024911.14936-2-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@google.com>
arch/mips/lib/crc32-mips.c