diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2018-12-14 13:30:53 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2018-12-14 13:30:53 +0000 |
commit | 2933f6980b82ed3dcf1289c8f729fb9ac63e52fa (patch) | |
tree | 12c2755cc8ce510dcc1cb51670a98cc4134785e6 /include/hw/loader.h | |
parent | da885fe1ee8b4589047484bd7fa05a4905b52b17 (diff) |
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 <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 20181130151712.2312-10-peter.maydell@linaro.org
Diffstat (limited to 'include/hw/loader.h')
-rw-r--r-- | include/hw/loader.h | 1 |
1 files changed, 0 insertions, 1 deletions
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: |