]> git.baikalelectronics.ru Git - kernel.git/commit
xen: remove redundant 'default n' from Kconfig
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Tue, 16 Oct 2018 14:33:58 +0000 (16:33 +0200)
committerJuergen Gross <jgross@suse.com>
Wed, 24 Oct 2018 09:29:33 +0000 (11:29 +0200)
commit62a9c9ac17820eb18888dcbdd8802c8aae6e68c4
treeabca37298d2d8639386f855aa527226bb9a15da0
parent7397e68ae61c070ba11f644e222f8fb0b6bc0f14
xen: 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 df5a3c104c4a ("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>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
drivers/xen/Kconfig