commit | e33e8e91629baf5df10ac456e5a31bd291aa9317 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon May 03 17:10:52 2021 -0600 |
committer | Tom Rini <trini@konsulko.com> | Tue May 04 15:15:39 2021 -0400 |
tree | 962839d8ac932e635f29e78e9214637b72618b5e | |
parent | 503ba2ed91dcf3941193fad4f1575da354830f2a [diff] |
image: Avoid switch default in image_decomp() At present this function is full of preprocessor macros. Adjust it to check for an unsupported algorithm after the switch(). This will allow us to drop the macros. Fix up the return-value path and an extra blank line while we are here. Signed-off-by: Simon Glass <sjg@chromium.org>