mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
mm: 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 f467c5640c ("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.
...
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
8c7829b04c
commit
62afcd1cb8
2 changed files with 0 additions and 12 deletions
|
|
@ -33,7 +33,6 @@ config DEBUG_PAGEALLOC
|
|||
|
||||
config DEBUG_PAGEALLOC_ENABLE_DEFAULT
|
||||
bool "Enable debug page memory allocations by default?"
|
||||
default n
|
||||
depends on DEBUG_PAGEALLOC
|
||||
---help---
|
||||
Enable debug page memory allocations by default? This value
|
||||
|
|
|
|||
Loading…
Reference in a new issue