Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

tty: remove redundant 'default n' from 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 f467c5640c29 ("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: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Bartlomiej Zolnierkiewicz and committed by
Greg Kroah-Hartman
f692f776 7a7457ba

-8
-3
drivers/tty/Kconfig
··· 84 84 config VT_HW_CONSOLE_BINDING 85 85 bool "Support for binding and unbinding console drivers" 86 86 depends on HW_CONSOLE 87 - default n 88 87 ---help--- 89 88 The virtual terminal is the device that interacts with the physical 90 89 terminal through console drivers. On these systems, at least one ··· 312 313 config TRACE_ROUTER 313 314 tristate "Trace data router for MIPI P1149.7 cJTAG standard" 314 315 depends on TRACE_SINK 315 - default n 316 316 help 317 317 The trace router uses the Linux tty line discipline framework to 318 318 route trace data coming from a tty port (say UART for example) to ··· 327 329 328 330 config TRACE_SINK 329 331 tristate "Trace data sink for MIPI P1149.7 cJTAG standard" 330 - default n 331 332 help 332 333 The trace sink uses the Linux line discipline framework to receive 333 334 trace data coming from the trace router line discipline driver
-2
drivers/tty/hvc/Kconfig
··· 25 25 config HVC_OLD_HVSI 26 26 bool "Old driver for pSeries serial port (/dev/hvsi*)" 27 27 depends on HVC_CONSOLE 28 - default n 29 28 30 29 config HVC_OPAL 31 30 bool "OPAL Console support" ··· 73 74 bool "udbg based fake hypervisor console" 74 75 depends on PPC 75 76 select HVC_DRIVER 76 - default n 77 77 help 78 78 This is meant to be used during HW bring up or debugging when 79 79 no other console mechanism exist but udbg, to get you a quick
-3
drivers/tty/serial/Kconfig
··· 370 370 depends on SPI_MASTER 371 371 select SERIAL_CORE 372 372 select REGMAP_SPI if SPI_MASTER 373 - default n 374 373 help 375 374 This selects support for an advanced UART from Maxim (Dallas). 376 375 Supported ICs are MAX3107, MAX3108, MAX3109, MAX14830. ··· 652 653 config PDC_CONSOLE 653 654 bool "PDC software console support" 654 655 depends on PARISC && !SERIAL_MUX && VT 655 - default n 656 656 help 657 657 Saying Y here will enable the software based PDC console to be 658 658 used as the system console. This is useful for machines in ··· 1108 1110 depends on QUICC_ENGINE 1109 1111 select SERIAL_CORE 1110 1112 select FW_LOADER 1111 - default n 1112 1113 help 1113 1114 This driver supports the QE serial ports on Freescale embedded 1114 1115 PowerPC that contain a QUICC Engine.