From: Tom Rini Date: Fri, 20 Sep 2019 17:42:08 -0400 Subject: [U-Boot] [PATCHv2 2/3] genboardscfg.py: Remove "warnings" print section In-Reply-To: <1569015729-13183-1-git-send-email-trini@konsulko.com> References: <1569015729-13183-1-git-send-email-trini@konsulko.com> Message-ID: <1569015729-13183-2-git-send-email-trini@konsulko.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de We tell kconfiglib to not print any warnings to us so drop this code as it will be unused. Cc: Masahiro Yamada Signed-off-by: Tom Rini --- Changes in v2: - New patch --- tools/genboardscfg.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tools/genboardscfg.py b/tools/genboardscfg.py index e9a9c11865b9..9fd2bd30efd5 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 -- 2.7.4