OSDN Git Service

MIPS: cmdline: Remove redundant Kconfig defaults
authorPaul Burton <paul.burton@mips.com>
Mon, 7 Oct 2019 22:20:02 +0000 (22:20 +0000)
committerPaul Burton <paul.burton@mips.com>
Wed, 9 Oct 2019 22:53:16 +0000 (15:53 -0700)
CMDLINE, CMDLINE_BOOL & CMDLINE_FORCE all explicitly specify default
values that are the same as the default value for their respective types
anyway (ie. n for booleans, and the empty string for strings).

Remove the redundant defaults.

Signed-off-by: Paul Burton <paul.burton@mips.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Cc: linux-mips@vger.kernel.org
arch/mips/Kconfig.debug

index 0c86b2a..93a2974 100644 (file)
@@ -32,7 +32,6 @@ config USE_GENERIC_EARLY_PRINTK_8250
 
 config CMDLINE_BOOL
        bool "Built-in kernel command line"
-       default n
        help
          For most systems, it is firmware or second stage bootloader that
          by default specifies the kernel command line options.  However,
@@ -53,7 +52,6 @@ config CMDLINE_BOOL
 config CMDLINE
        string "Default kernel command string"
        depends on CMDLINE_BOOL
-       default ""
        help
          On some platforms, there is currently no way for the boot loader to
          pass arguments to the kernel.  For these platforms, and for the cases
@@ -68,7 +66,6 @@ config CMDLINE
 
 config CMDLINE_OVERRIDE
        bool "Built-in command line overrides firmware arguments"
-       default n
        depends on CMDLINE_BOOL
        help
          By setting this option to 'Y' you will have your kernel ignore