aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/efi.h
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2020-09-23 10:13:07 +0200
committerArd Biesheuvel <ardb@kernel.org>2020-09-29 19:40:57 +0200
commit5d3c8617ccee6387ba73a5dba77fb9dc21cb85f4 (patch)
treed3005a3042ddf562c380343dbb79bebc519ede03 /include/linux/efi.h
parentefi: pstore: move workqueue handling out of efivars (diff)
downloadlinux-dev-5d3c8617ccee6387ba73a5dba77fb9dc21cb85f4.tar.xz
linux-dev-5d3c8617ccee6387ba73a5dba77fb9dc21cb85f4.zip
efi: efivars: un-export efivars_sysfs_init()
efivars_sysfs_init() is only used locally in the source file that defines it, so make it static and unexport it. Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'include/linux/efi.h')
-rw-r--r--include/linux/efi.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/efi.h b/include/linux/efi.h
index ab8c80331217..4c8dae0b5c75 100644
--- a/include/linux/efi.h
+++ b/include/linux/efi.h
@@ -1037,10 +1037,6 @@ bool efivar_validate(efi_guid_t vendor, efi_char16_t *var_name, u8 *data,
bool efivar_variable_is_removable(efi_guid_t vendor, const char *name,
size_t len);
-#if defined(CONFIG_EFI_VARS) || defined(CONFIG_EFI_VARS_MODULE)
-int efivars_sysfs_init(void);
-
-#endif /* CONFIG_EFI_VARS */
extern bool efi_capsule_pending(int *reset_type);
extern int efi_capsule_supported(efi_guid_t guid, u32 flags,