binman: Drop algo check in CheckSetHashValue()
authorSimon Glass <sjg@chromium.org>
Thu, 10 Apr 2025 12:43:02 +0000 (06:43 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 11 Apr 2025 20:29:52 +0000 (14:29 -0600)
commit702b7a3e2eb49b144936e061c0107518544c4b1a
tree663a1af49fc5ad6c653d6838b81463f2f2c966f6
parentd664c29ec37964db5e191debb2cafeed3a170255
binman: Drop algo check in CheckSetHashValue()

The CheckAddHashValue() function is always called before this one, so
the algorithm check is never used. Replace it with an assert to avoid a
coverage error.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/state.py