lib/crc: remove unnecessary prompt for CONFIG_CRC32 and drop 'default y'
authorEric Biggers <ebiggers@google.com>
Tue, 1 Apr 2025 22:15:54 +0000 (15:15 -0700)
committerEric Biggers <ebiggers@google.com>
Fri, 4 Apr 2025 18:31:42 +0000 (11:31 -0700)
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>
arch/sh/configs/edosk7705_defconfig
arch/sh/configs/kfr2r09-romimage_defconfig
arch/sh/configs/sh7724_generic_defconfig
arch/sh/configs/sh7770_generic_defconfig
lib/Kconfig

index 296ed768cbbb7fbf1a9e37f73076cf26eb898426..ee3f6db7d8da1f53fb2031c4e344ea598767d191 100644 (file)
@@ -33,4 +33,3 @@ CONFIG_CMDLINE_FROM_BOOTLOADER=y
 # CONFIG_PROC_FS is not set
 # CONFIG_SYSFS is not set
 # CONFIG_ENABLE_MUST_CHECK is not set
-# CONFIG_CRC32 is not set
index 42bf34181a3e095857d25435b9f77c9450ac5bb0..88fbb65cb9f9e0eae4af6d2ed28d19054ae79c68 100644 (file)
@@ -49,4 +49,3 @@ CONFIG_TMPFS=y
 # CONFIG_NETWORK_FILESYSTEMS is not set
 # CONFIG_ENABLE_MUST_CHECK is not set
 CONFIG_DEBUG_FS=y
-# CONFIG_CRC32 is not set
index 5440bd0ca4ed5b096e3bced9f7a5a201c20ca9df..e6298f22623a9c63a36d2b3fdf6190bb9206e40b 100644 (file)
@@ -39,4 +39,3 @@ CONFIG_UIO_PDRV_GENIRQ=y
 # CONFIG_SYSFS is not set
 # CONFIG_MISC_FILESYSTEMS is not set
 # CONFIG_ENABLE_MUST_CHECK is not set
-# CONFIG_CRC32 is not set
index 4338af8d02d0363a9d1e3660646dd8c256a3484b..2e2b46980b58bb3eecebd7bab21fb76b71f3fa8a 100644 (file)
@@ -41,4 +41,3 @@ CONFIG_UIO_PDRV_GENIRQ=y
 # CONFIG_SYSFS is not set
 # CONFIG_MISC_FILESYSTEMS is not set
 # CONFIG_ENABLE_MUST_CHECK is not set
-# CONFIG_CRC32 is not set
index 61cce0686b53eb8d43406950c733fcd52b8f20be..c91de83b3e5a2deb792e680bf6da0c2d27f9ed6b 100644 (file)
@@ -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