summaryrefslogtreecommitdiff
path: root/allmodconfig.py
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2018-06-12 01:58:41 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2018-06-12 02:04:45 +0200
commit0327db2e642800a1608b006cd6c569f7bca0ff5c (patch)
tree99a04f410cd8e8a736d8c48b9c6039b51785ef5c /allmodconfig.py
parent506e3fb211d22f62115ce83e9247266c5d87ea24 (diff)
Simplify allnoconfig.py and allyesconfig.py
We can rely on set_value() being a no-op when setting non-bool/tristate symbols to 0/1/2 (due to those values being invalid for other types). Remove some long duplicated comments too.
Diffstat (limited to 'allmodconfig.py')
-rwxr-xr-xallmodconfig.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/allmodconfig.py b/allmodconfig.py
index 35caa9c..b8f792a 100755
--- a/allmodconfig.py
+++ b/allmodconfig.py
@@ -18,8 +18,7 @@ import kconfiglib
def main():
kconf = kconfiglib.standard_kconfig()
- # Avoid warnings printed by Kconfiglib when assigning a value to a symbol that
- # has no prompt. Such assignments never have an effect.
+ # See allnoconfig.py
kconf.disable_warnings()
# Small optimizations