From: Tom Rini <trini@konsulko.com>
Date: Fri, 20 Sep 2019 21:42:08 +0000 (-0400)
Subject: genboardscfg.py: Remove "warnings" print section
X-Git-Tag: v2025.01-rc5-pxa1908~2762^2~5
X-Git-Url: http://git.dujemihanovic.xyz/img/static/git-logo.png?a=commitdiff_plain;h=5e7c8a39e634235e2ee696a39bf1f404fc707fda;p=u-boot.git

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>
---

diff --git a/tools/genboardscfg.py b/tools/genboardscfg.py
index e9a9c11865..9fd2bd30ef 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