Commit b3569d3a authored by Bartlomiej Zolnierkiewicz's avatar Bartlomiej Zolnierkiewicz Committed by Ingo Molnar

x86/kconfig: Remove redundant 'default n' lines from all x86 Kconfig's

'default n' is the default value for any bool or tristate Kconfig
setting so there is no need to write it explicitly.

Also, since commit:

  f467c564 ("kconfig: only write '# CONFIG_FOO is not set' for visible symbols")

... the Kconfig behavior is the same regardless of 'default n' being present or not:

    ...
    One side effect of (and the main motivation for) this change is making
    the following two definitions behave exactly the same:

        config FOO
                bool

        config FOO
                bool
                default n

    With this change, neither of these will generate a
    '# CONFIG_FOO is not set' line (assuming FOO isn't selected/implied).
    That might make it clearer to people that a bare 'default n' is
    redundant.
    ...
Signed-off-by: default avatarBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Juergen Gross <jgross@suse.co>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: xen-devel@lists.xenproject.org
Link: http://lkml.kernel.org/r/20181016134217eucas1p2102984488b89178a865162553369025b%7EeGpI5NlJo0851008510eucas1p2D@eucas1p2.samsung.comSigned-off-by: default avatarIngo Molnar <mingo@kernel.org>
parent b955a910
...@@ -447,7 +447,6 @@ config RETPOLINE ...@@ -447,7 +447,6 @@ config RETPOLINE
config INTEL_RDT config INTEL_RDT
bool "Intel Resource Director Technology support" bool "Intel Resource Director Technology support"
default n
depends on X86 && CPU_SUP_INTEL depends on X86 && CPU_SUP_INTEL
select KERNFS select KERNFS
help help
...@@ -701,7 +700,6 @@ config STA2X11 ...@@ -701,7 +700,6 @@ config STA2X11
select SWIOTLB select SWIOTLB
select MFD_STA2X11 select MFD_STA2X11
select GPIOLIB select GPIOLIB
default n
---help--- ---help---
This adds support for boards based on the STA2X11 IO-Hub, This adds support for boards based on the STA2X11 IO-Hub,
a.k.a. "ConneXt". The chip is used in place of the standard a.k.a. "ConneXt". The chip is used in place of the standard
...@@ -799,7 +797,6 @@ config KVM_GUEST ...@@ -799,7 +797,6 @@ config KVM_GUEST
config KVM_DEBUG_FS config KVM_DEBUG_FS
bool "Enable debug information for KVM Guests in debugfs" bool "Enable debug information for KVM Guests in debugfs"
depends on KVM_GUEST && DEBUG_FS depends on KVM_GUEST && DEBUG_FS
default n
---help--- ---help---
This option enables collection of various statistics for KVM guest. This option enables collection of various statistics for KVM guest.
Statistics are displayed in debugfs filesystem. Enabling this option Statistics are displayed in debugfs filesystem. Enabling this option
...@@ -808,7 +805,6 @@ config KVM_DEBUG_FS ...@@ -808,7 +805,6 @@ config KVM_DEBUG_FS
config PARAVIRT_TIME_ACCOUNTING config PARAVIRT_TIME_ACCOUNTING
bool "Paravirtual steal time accounting" bool "Paravirtual steal time accounting"
depends on PARAVIRT depends on PARAVIRT
default n
---help--- ---help---
Select this option to enable fine granularity task steal time Select this option to enable fine granularity task steal time
accounting. Time spent executing other tasks in parallel with accounting. Time spent executing other tasks in parallel with
...@@ -1168,7 +1164,6 @@ source "arch/x86/events/Kconfig" ...@@ -1168,7 +1164,6 @@ source "arch/x86/events/Kconfig"
config X86_LEGACY_VM86 config X86_LEGACY_VM86
bool "Legacy VM86 support" bool "Legacy VM86 support"
default n
depends on X86_32 depends on X86_32
---help--- ---help---
This option allows user programs to put the CPU into V8086 This option allows user programs to put the CPU into V8086
...@@ -2220,7 +2215,6 @@ config HOTPLUG_CPU ...@@ -2220,7 +2215,6 @@ config HOTPLUG_CPU
config BOOTPARAM_HOTPLUG_CPU0 config BOOTPARAM_HOTPLUG_CPU0
bool "Set default setting of cpu0_hotpluggable" bool "Set default setting of cpu0_hotpluggable"
default n
depends on HOTPLUG_CPU depends on HOTPLUG_CPU
---help--- ---help---
Set whether default state of cpu0_hotpluggable is on or off. Set whether default state of cpu0_hotpluggable is on or off.
...@@ -2825,7 +2819,6 @@ source "drivers/pcmcia/Kconfig" ...@@ -2825,7 +2819,6 @@ source "drivers/pcmcia/Kconfig"
config RAPIDIO config RAPIDIO
tristate "RapidIO support" tristate "RapidIO support"
depends on PCI depends on PCI
default n
help help
If enabled this option will include drivers and the core If enabled this option will include drivers and the core
infrastructure code to support RapidIO interconnect devices. infrastructure code to support RapidIO interconnect devices.
......
...@@ -314,7 +314,6 @@ config DEBUG_NMI_SELFTEST ...@@ -314,7 +314,6 @@ config DEBUG_NMI_SELFTEST
config DEBUG_IMR_SELFTEST config DEBUG_IMR_SELFTEST
bool "Isolated Memory Region self test" bool "Isolated Memory Region self test"
default n
depends on INTEL_IMR depends on INTEL_IMR
---help--- ---help---
This option enables automated sanity testing of the IMR code. This option enables automated sanity testing of the IMR code.
......
...@@ -68,7 +68,6 @@ config XEN_SAVE_RESTORE ...@@ -68,7 +68,6 @@ config XEN_SAVE_RESTORE
config XEN_DEBUG_FS config XEN_DEBUG_FS
bool "Enable Xen debug and tuning parameters in debugfs" bool "Enable Xen debug and tuning parameters in debugfs"
depends on XEN && DEBUG_FS depends on XEN && DEBUG_FS
default n
help help
Enable statistics output and various tuning options in debugfs. Enable statistics output and various tuning options in debugfs.
Enabling this option may incur a significant performance overhead. Enabling this option may incur a significant performance overhead.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment