summaryrefslogtreecommitdiffstats
path: root/fs
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 /fs
parentd1bebc03b3005b33da3d1541782bb037974d1486 (diff)
downloadbarebox-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.c2
-rw-r--r--fs/efivarfs.c2
2 files changed, 2 insertions, 2 deletions
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 };