summaryrefslogtreecommitdiffstats
path: root/common/efi
diff options
context:
space:
mode:
authorOleksij Rempel <o.rempel@pengutronix.de>2019-02-15 10:00:37 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-02-18 14:25:05 +0100
commit5f7ed0da830d40fd738068d0fe5613076f3a4631 (patch)
tree1b095a3140ccad1af4976c33f165d879e8c37e40 /common/efi
parentd1bebc03b3005b33da3d1541782bb037974d1486 (diff)
downloadbarebox-5f7ed0da830d40fd738068d0fe5613076f3a4631.tar.gz
efi: cleanups
make local functions static and remove unused code Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/efi')
-rw-r--r--common/efi/efi-image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/efi/efi-image.c b/common/efi/efi-image.c
index 885348d..939663a 100644
--- a/common/efi/efi-image.c
+++ b/common/efi/efi-image.c
@@ -88,7 +88,7 @@ struct linux_kernel_header {
uint32_t handover_offset; /** */
} __attribute__ ((packed));
-int efi_load_image(const char *file, efi_loaded_image_t **loaded_image,
+static int efi_load_image(const char *file, efi_loaded_image_t **loaded_image,
efi_handle_t *h)
{
void *exe;