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

usb: 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
d991f855 be21a02a

-11
-1
drivers/usb/atm/Kconfig
··· 7 7 tristate "USB DSL modem support" 8 8 depends on ATM 9 9 select CRC32 10 - default n 11 10 help 12 11 Say Y here if you want to connect a USB Digital Subscriber Line (DSL) 13 12 modem to your computer's USB port. You will then need to choose your
-1
drivers/usb/core/Kconfig
··· 45 45 config USB_OTG 46 46 bool "OTG support" 47 47 depends on PM 48 - default n 49 48 help 50 49 The most notable feature of USB OTG is support for a 51 50 "Dual-Role" device, which can act as either a device
-1
drivers/usb/dwc2/Kconfig
··· 58 58 tristate "DWC2 PCI" 59 59 depends on USB_PCI 60 60 depends on USB_GADGET || !USB_GADGET 61 - default n 62 61 select NOP_USB_XCEIV 63 62 help 64 63 The Designware USB2.0 PCI interface module for controllers
-2
drivers/usb/gadget/legacy/Kconfig
··· 153 153 depends on USB_ETH 154 154 select USB_LIBCOMPOSITE 155 155 select USB_F_EEM 156 - default n 157 156 help 158 157 CDC EEM is a newer USB standard that is somewhat simpler than CDC ECM 159 158 and therefore can be supported by more hardware. Technically ECM and ··· 418 419 config USB_G_MULTI_CDC 419 420 bool "CDC Ethernet + CDC Serial + Storage configuration" 420 421 depends on USB_G_MULTI 421 - default n 422 422 select USB_F_ECM 423 423 help 424 424 This option enables a configuration with CDC Ethernet (ECM), CDC
-5
drivers/usb/host/Kconfig
··· 161 161 config USB_EHCI_HCD_PMC_MSP 162 162 tristate "EHCI support for on-chip PMC MSP71xx USB controller" 163 163 depends on MSP_HAS_USB 164 - default n 165 164 select USB_EHCI_BIG_ENDIAN_DESC 166 165 select USB_EHCI_BIG_ENDIAN_MMIO 167 166 ---help--- ··· 307 308 308 309 config USB_EHCI_HCD_PLATFORM 309 310 tristate "Generic EHCI driver for a platform device" 310 - default n 311 311 ---help--- 312 312 Adds an EHCI host driver for a generic platform device, which 313 313 provides a memory space and an irq. ··· 316 318 config USB_OCTEON_EHCI 317 319 bool "Octeon on-chip EHCI support (DEPRECATED)" 318 320 depends on CAVIUM_OCTEON_SOC 319 - default n 320 321 select USB_EHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN 321 322 select USB_EHCI_HCD_PLATFORM 322 323 help ··· 523 526 depends on (SSB = y || SSB = USB_OHCI_HCD) 524 527 select USB_HCD_SSB 525 528 select USB_OHCI_HCD_PLATFORM 526 - default n 527 529 ---help--- 528 530 This option is deprecated now and the driver was removed, use 529 531 USB_HCD_SSB and USB_OHCI_HCD_PLATFORM instead. ··· 565 569 566 570 config USB_OHCI_HCD_PLATFORM 567 571 tristate "Generic OHCI driver for a platform device" 568 - default n 569 572 ---help--- 570 573 Adds an OHCI host driver for a generic platform device, which 571 574 provides a memory space and an irq.
-1
drivers/usb/renesas_usbhs/Kconfig
··· 8 8 depends on USB_GADGET 9 9 depends on ARCH_RENESAS || SUPERH || COMPILE_TEST 10 10 depends on EXTCON || !EXTCON # if EXTCON=m, USBHS cannot be built-in 11 - default n 12 11 help 13 12 Renesas USBHS is a discrete USB host and peripheral controller chip 14 13 that supports both full and high speed USB 2.0 data transfers.