From: Simon Glass Date: Thu, 10 Apr 2025 12:43:01 +0000 (-0600) Subject: binman: fit: Drop unused code X-Git-Tag: v2025.07-rc1~70^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d664c29ec37964db5e191debb2cafeed3a170255;p=pandora-u-boot.git 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 --- 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')