summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2025-04-10 06:43:01 -0600
committerTom Rini <[email protected]>2025-04-11 14:29:52 -0600
commitd664c29ec37964db5e191debb2cafeed3a170255 (patch)
tree87c700b62eaa86c265d88e60ec780b73cca4ade1 /tools
parent0148be7cd49e8f801662e5af74203e2cdf93a5bb (diff)
binman: fit: Drop unused code
The key-name-hint case is not tested so is presumably not used. Drop it. Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'tools')
-rw-r--r--tools/binman/etype/fit.py2
1 files changed, 0 insertions, 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')