]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
usb: remove redundant 'default n' from Kconfig-s
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Mon, 20 May 2019 14:14:33 +0000 (16:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 May 2019 08:06:22 +0000 (10:06 +0200)
commitd991f855cb4f84c638e2016818259720ceed4191
tree82f43a75df04b6896960f449a908ccdc09e39547
parentbe21a02a5a5ec88b12ce535ead715d4bbb173a55
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>
drivers/usb/atm/Kconfig
drivers/usb/core/Kconfig
drivers/usb/dwc2/Kconfig
drivers/usb/gadget/legacy/Kconfig
drivers/usb/host/Kconfig
drivers/usb/renesas_usbhs/Kconfig