mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
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>
This commit is contained in:
parent
3bc14098d8
commit
5e7c8a39e6
1 changed files with 1 additions and 5 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue