boot: Drop size parameter from image_setup_libfdt()

The of_size parameter is not used, so remove it.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Simon Glass 2023-11-12 08:27:44 -07:00 committed by Tom Rini
parent c659ac7cca
commit 1de1a03487
6 changed files with 8 additions and 8 deletions

View file

@ -908,7 +908,7 @@ int image_setup_linux(struct bootm_headers *images)
}
if (CONFIG_IS_ENABLED(OF_LIBFDT) && of_size) {
ret = image_setup_libfdt(images, *of_flat_tree, of_size, lmb);
ret = image_setup_libfdt(images, *of_flat_tree, lmb);
if (ret)
return ret;
}