]> git.baikalelectronics.ru Git - kernel.git/commit
ARC: remove redundant 'default n' from Kconfig
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Wed, 10 Oct 2018 14:46:17 +0000 (16:46 +0200)
committerVineet Gupta <vgupta@synopsys.com>
Mon, 12 Nov 2018 18:38:27 +0000 (10:38 -0800)
commit2f7dff2fb352dc37c2969ebf3084b76cb2d51b4b
tree8ba574b7e208a25771e8db22fa5b3323afee9182
parented8ca29a73ac7bcc0e390e8079a447e9ce562b85
ARC: remove redundant 'default n' from Kconfig

'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 044e7d0ed21d ("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: Vineet Gupta <vgupta@synopsys.com>
arch/arc/Kconfig