image: Tidy up fit_unsupported_reset()
authorSimon Glass <sjg@chromium.org>
Sun, 26 Sep 2021 01:43:32 +0000 (19:43 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 8 Oct 2021 19:53:27 +0000 (15:53 -0400)
commit0ab5e027045f78973b7b7d52a71a89a707398f9f
tree956d97aeccafa093f76373d380a82cf2e3c20dcd
parent1eccbb16a2c0427488d91e169572c3c397c4c1d5
image: Tidy up fit_unsupported_reset()

This function is only used in one place and does not need to use the
preprocessor. Move it to the C file and convert it to a normal function.

Drop fit_unsupported() since it is not used.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/bootm_os.c
include/image.h