From 2933f6980b82ed3dcf1289c8f729fb9ac63e52fa Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Fri, 14 Dec 2018 13:30:53 +0000 Subject: hw/core/loader.c: Remove load_image() The load_image() function is now no longer used anywhere, so we can remove it completely. (Use load_image_size() or g_file_get_contents() instead.) Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Reviewed-by: Stefan Hajnoczi Reviewed-by: Michael S. Tsirkin Reviewed-by: Eric Blake Message-id: 20181130151712.2312-10-peter.maydell@linaro.org --- include/hw/loader.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include') diff --git a/include/hw/loader.h b/include/hw/loader.h index 67a0af84ac..3766559bc2 100644 --- a/include/hw/loader.h +++ b/include/hw/loader.h @@ -11,7 +11,6 @@ * On error, errno is also set as appropriate. */ int64_t get_image_size(const char *filename); -int load_image(const char *filename, uint8_t *addr); /* deprecated */ ssize_t load_image_size(const char *filename, void *addr, size_t size); /**load_image_targphys_as: -- cgit v1.2.3