Skip to content

Commit 9ad1917

Browse files
committed
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 <[email protected]> Reviewed-by: "Martin K. Petersen" <[email protected]> Acked-by: Ard Biesheuvel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Eric Biggers <[email protected]>
1 parent 91e5bfe commit 9ad1917

File tree

5 files changed

+1
-11
lines changed

5 files changed

+1
-11
lines changed

arch/sh/configs/edosk7705_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,3 @@ CONFIG_CMDLINE_FROM_BOOTLOADER=y
3333
# CONFIG_PROC_FS is not set
3434
# CONFIG_SYSFS is not set
3535
# CONFIG_ENABLE_MUST_CHECK is not set
36-
# CONFIG_CRC32 is not set

arch/sh/configs/kfr2r09-romimage_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,3 @@ CONFIG_TMPFS=y
4949
# CONFIG_NETWORK_FILESYSTEMS is not set
5050
# CONFIG_ENABLE_MUST_CHECK is not set
5151
CONFIG_DEBUG_FS=y
52-
# CONFIG_CRC32 is not set

arch/sh/configs/sh7724_generic_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,3 @@ CONFIG_UIO_PDRV_GENIRQ=y
3939
# CONFIG_SYSFS is not set
4040
# CONFIG_MISC_FILESYSTEMS is not set
4141
# CONFIG_ENABLE_MUST_CHECK is not set
42-
# CONFIG_CRC32 is not set

arch/sh/configs/sh7770_generic_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,3 @@ CONFIG_UIO_PDRV_GENIRQ=y
4141
# CONFIG_SYSFS is not set
4242
# CONFIG_MISC_FILESYSTEMS is not set
4343
# CONFIG_ENABLE_MUST_CHECK is not set
44-
# CONFIG_CRC32 is not set

lib/Kconfig

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -177,14 +177,8 @@ config CRC_ITU_T
177177
functions require M here.
178178

179179
config CRC32
180-
tristate "CRC32/CRC32c functions"
181-
default y
180+
tristate
182181
select BITREVERSE
183-
help
184-
This option is provided for the case where no in-kernel-tree
185-
modules require CRC32/CRC32c functions, but a module built outside
186-
the kernel tree does. Such modules that use library CRC32/CRC32c
187-
functions require M here.
188182

189183
config ARCH_HAS_CRC32
190184
bool

0 commit comments

Comments
 (0)