[PATCH 3/7] binman: fit: Drop unused code
Simon Glass
sjg at chromium.org
Tue Mar 4 14:09:40 CET 2025
The key-name-hint case is not tested so is presumably not used. Drop it.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
tools/binman/etype/fit.py | 2 --
1 file changed, 2 deletions(-)
diff --git a/tools/binman/etype/fit.py b/tools/binman/etype/fit.py
index 803fb66ea83..ed3cac4ee7e 100644
--- a/tools/binman/etype/fit.py
+++ b/tools/binman/etype/fit.py
@@ -562,8 +562,6 @@ class Entry_fit(Entry_section):
for subnode in node.subnodes:
if (subnode.name.startswith('signature') or
subnode.name.startswith('cipher')):
- if subnode.props.get('key-name-hint') is None:
- continue
hint = subnode.props['key-name-hint'].value
name = tools.get_input_filename(
f"{hint}.key" if subnode.name.startswith('signature')
--
2.43.0
More information about the U-Boot
mailing list