OSDN Git Service

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)
commit2c519f583e84eb578d4db48e38160f58aafad2ac
tree8ba574b7e208a25771e8db22fa5b3323afee9182
parentccda4af0f4b92f7b4c308d3acc262f4a7e3affad
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 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: Vineet Gupta <vgupta@synopsys.com>
arch/arc/Kconfig