From 5f7ed0da830d40fd738068d0fe5613076f3a4631 Mon Sep 17 00:00:00 2001 From: Oleksij Rempel Date: Fri, 15 Feb 2019 10:00:37 +0100 Subject: efi: cleanups make local functions static and remove unused code Signed-off-by: Oleksij Rempel Signed-off-by: Sascha Hauer --- fs/efi.c | 2 +- fs/efivarfs.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'fs') diff --git a/fs/efi.c b/fs/efi.c index 81c1ffe078..944d6aac7a 100644 --- a/fs/efi.c +++ b/fs/efi.c @@ -513,7 +513,7 @@ coredevice_initcall(efifs_init); static int index; -int efi_fs_probe(struct efi_device *efidev) +static int efi_fs_probe(struct efi_device *efidev) { char *path, *device; int ret; diff --git a/fs/efivarfs.c b/fs/efivarfs.c index a911eac3bf..1e80493621 100644 --- a/fs/efivarfs.c +++ b/fs/efivarfs.c @@ -67,7 +67,7 @@ static int read_byte_str(const char *str, u8 *out) return 0; } -int efi_guid_parse(const char *str, efi_guid_t *guid) +static int efi_guid_parse(const char *str, efi_guid_t *guid) { int i, ret; u8 idx[] = { 3, 2, 1, 0, 5, 4, 7, 6, 8, 9, 10, 11, 12, 13, 14, 15 }; -- cgit v1.2.3