Commit cd14b018 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

treewide: replace or remove redundant def_bool in Kconfig files



'def_bool X' is a shorthand for 'bool' plus 'default X'.

'def_bool' is redundant where 'bool' is already present, so 'def_bool X'
can be replaced with 'default X', or removed if X is 'n'.

Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent 91b69454
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -237,9 +237,9 @@ config PARISC_HUGE_KERNEL
	def_bool y if !MODULES || UBSAN || FTRACE || COMPILE_TEST

config MLONGCALLS
	def_bool y if PARISC_HUGE_KERNEL
	bool "Enable the -mlong-calls compiler option for big kernels" if !PARISC_HUGE_KERNEL
	depends on PA8X00
	default PARISC_HUGE_KERNEL
	help
	  If you configure the kernel to include many drivers built-in instead
	  as modules, the kernel executable may become too big, so that the
@@ -254,9 +254,9 @@ config MLONGCALLS
	  Enabling this option will probably slow down your kernel.

config 64BIT
	def_bool y if "$(ARCH)" = "parisc64"
	bool "64-bit kernel" if "$(ARCH)" = "parisc"
	depends on PA8X00
	default "$(ARCH)" = "parisc64"
	help
	  Enable this if you want to support 64bit kernel on PA-RISC platform.

+1 −1
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@ config AS_HAS_ULEB128

menuconfig RUNTIME_KERNEL_TESTING_MENU
       bool "arch/riscv/kernel runtime Testing"
       def_bool y
       default y
       help
         Enable riscv kernel runtime testing.

+1 −1
Original line number Diff line number Diff line
@@ -119,8 +119,8 @@ config KVM_AMD
	  will be called kvm-amd.

config KVM_AMD_SEV
	def_bool y
	bool "AMD Secure Encrypted Virtualization (SEV) support"
	default y
	depends on KVM_AMD && X86_64
	depends on CRYPTO_DEV_SP_PSP && !(KVM_AMD=y && CRYPTO_DEV_CCP_DD=m)
	help
+0 −1
Original line number Diff line number Diff line
@@ -81,7 +81,6 @@ config XEN_PVH
	bool "Xen PVH guest support"
	depends on XEN && XEN_PVHVM && ACPI
	select PVH
	def_bool n
	help
	  Support for running as a Xen PVH guest.

+0 −1
Original line number Diff line number Diff line
@@ -474,7 +474,6 @@ config ACPI_BGRT

config ACPI_REDUCED_HARDWARE_ONLY
	bool "Hardware-reduced ACPI support only" if EXPERT
	def_bool n
	help
	  This config item changes the way the ACPI code is built.  When this
	  option is selected, the kernel will use a specialized version of
Loading