aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTom Rini2019-09-20 17:42:08 -0400
committerTom Rini2019-10-08 08:37:28 -0400
commit5e7c8a39e634235e2ee696a39bf1f404fc707fda (patch)
tree348919b36b2c304fc7b485ffae3788232a00edda /tools
parent3bc14098d8fb05b98e01c4abd901f77b55d19331 (diff)
genboardscfg.py: Remove "warnings" print section
We tell kconfiglib to not print any warnings to us so drop this code as it will be unused. Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/genboardscfg.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/tools/genboardscfg.py b/tools/genboardscfg.py
index e9a9c11865b..9fd2bd30efd 100755
--- a/tools/genboardscfg.py
+++ b/tools/genboardscfg.py
@@ -165,11 +165,7 @@ class KconfigScanner:
else:
f.write(line[colon + 1:])
- warnings = self._conf.load_config(self._tmpfile)
- if warnings:
- for warning in warnings:
- print('%s: %s' % (defconfig, warning))
-
+ self._conf.load_config(self._tmpfile)
try_remove(self._tmpfile)
self._tmpfile = None