]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
genboardscfg.py: Remove "warnings" print section
authorTom Rini <trini@konsulko.com>
Fri, 20 Sep 2019 21:42:08 +0000 (17:42 -0400)
committerTom Rini <trini@konsulko.com>
Tue, 8 Oct 2019 12:37:28 +0000 (08:37 -0400)
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>
tools/genboardscfg.py

index e9a9c11865b998eea443b5d599cb30a4fff114a6..9fd2bd30efd587e9f4945d033f21fdb87b44e55f 100755 (executable)
@@ -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