Skip to content

Commit f5dcc21

Browse files
Sai PraneethIngo Molnar
authored andcommitted
efi: Remove the declaration of efi_late_init() as the function is unused
The following commit: 7b0a911 ("efi/x86: Move the EFI BGRT init code to early init code") ... removed the implementation and all the references to efi_late_init() but the function is still declared at include/linux/efi.h. Hence, remove the unnecessary declaration. Signed-off-by: Sai Praneeth Prakhya <sai.praneeth.prakhya@intel.com> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: linux-efi@vger.kernel.org Link: http://lkml.kernel.org/r/20180711094040.12506-6-ard.biesheuvel@linaro.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
1 parent 7bb4970 commit f5dcc21

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

include/linux/efi.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -988,14 +988,12 @@ extern void efi_memmap_walk (efi_freemem_callback_t callback, void *arg);
988988
extern void efi_gettimeofday (struct timespec64 *ts);
989989
extern void efi_enter_virtual_mode (void); /* switch EFI to virtual mode, if possible */
990990
#ifdef CONFIG_X86
991-
extern void efi_late_init(void);
992991
extern void efi_free_boot_services(void);
993992
extern efi_status_t efi_query_variable_store(u32 attributes,
994993
unsigned long size,
995994
bool nonblocking);
996995
extern void efi_find_mirror(void);
997996
#else
998-
static inline void efi_late_init(void) {}
999997
static inline void efi_free_boot_services(void) {}
1000998

1001999
static inline efi_status_t efi_query_variable_store(u32 attributes,

0 commit comments

Comments
 (0)