aboutsummaryrefslogtreecommitdiff
path: root/lib/Kconfig
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2025-04-01 15:15:54 -0700
committerEric Biggers <ebiggers@google.com>2025-04-04 11:31:42 -0700
commit9ad19171b6d6fa5dcdd8a1d5d1b82dbdeaf65ab0 (patch)
tree3af606f48bae3225608e21252a4877e15b5efe93 /lib/Kconfig
parent91e5bfe317d8f8471fbaa3e70cf66cae1314a516 (diff)
lib/crc: remove unnecessary prompt for CONFIG_CRC32 and drop 'default y'
All modules that need CONFIG_CRC32 already select it, so there is no need to bother users about the option, nor to default it to y. Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: "Martin K. Petersen" <martin.petersen@oracle.com> Acked-by: Ard Biesheuvel <ardb@kernel.org> Link: https://lore.kernel.org/r/20250401221600.24878-2-ebiggers@kernel.org Signed-off-by: Eric Biggers <ebiggers@google.com>
Diffstat (limited to 'lib/Kconfig')
-rw-r--r--lib/Kconfig8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/Kconfig b/lib/Kconfig
index 61cce0686b53..c91de83b3e5a 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -177,14 +177,8 @@ config CRC_ITU_T
functions require M here.
config CRC32
- tristate "CRC32/CRC32c functions"
- default y
+ tristate
select BITREVERSE
- help
- This option is provided for the case where no in-kernel-tree
- modules require CRC32/CRC32c functions, but a module built outside
- the kernel tree does. Such modules that use library CRC32/CRC32c
- functions require M here.
config ARCH_HAS_CRC32
bool