diff options
author | Ani Sinha <anisinha@redhat.com> | 2024-07-11 12:54:47 +0530 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-07-16 20:04:08 +0200 |
commit | a376a8d58a164c28a8402d0ea7b05c1235c02f7a (patch) | |
tree | 8f776321f98924b388cbb2597edff44596ec367b /include | |
parent | 1ee5f645721832a1285157f6ee2a34cc549c30d2 (diff) | |
download | qemu-a376a8d58a164c28a8402d0ea7b05c1235c02f7a.zip qemu-a376a8d58a164c28a8402d0ea7b05c1235c02f7a.tar.gz qemu-a376a8d58a164c28a8402d0ea7b05c1235c02f7a.tar.bz2 |
loader: remove load_image_gzipped function as its not used anywhere
load_image_gzipped() does not seem to be used anywhere. Remove it.
Signed-off-by: Ani Sinha <anisinha@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240711072448.32673-1-anisinha@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/loader.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/hw/loader.h b/include/hw/loader.h index 9844c5e..7f6d06b 100644 --- a/include/hw/loader.h +++ b/include/hw/loader.h @@ -77,15 +77,13 @@ ssize_t load_image_targphys(const char *filename, hwaddr, ssize_t load_image_mr(const char *filename, MemoryRegion *mr); /* This is the limit on the maximum uncompressed image size that - * load_image_gzipped_buffer() and load_image_gzipped() will read. It prevents + * load_image_gzipped_buffer() will read. It prevents * g_malloc() in those functions from allocating a huge amount of memory. */ #define LOAD_IMAGE_MAX_GUNZIP_BYTES (256 << 20) ssize_t load_image_gzipped_buffer(const char *filename, uint64_t max_sz, uint8_t **buffer); -ssize_t load_image_gzipped(const char *filename, hwaddr addr, uint64_t max_sz); - /** * unpack_efi_zboot_image: * @buffer: pointer to a variable holding the address of a buffer containing the |