diff options
author | Oleksij Rempel <o.rempel@pengutronix.de> | 2019-02-15 10:00:37 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-02-18 14:25:05 +0100 |
commit | 5f7ed0da830d40fd738068d0fe5613076f3a4631 (patch) | |
tree | 1b095a3140ccad1af4976c33f165d879e8c37e40 /fs | |
parent | d1bebc03b3005b33da3d1541782bb037974d1486 (diff) | |
download | barebox-5f7ed0da830d40fd738068d0fe5613076f3a4631.tar.gz barebox-5f7ed0da830d40fd738068d0fe5613076f3a4631.tar.xz |
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 'fs')
-rw-r--r-- | fs/efi.c | 2 | ||||
-rw-r--r-- | fs/efivarfs.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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 }; |