diff options
author | Mathias Krause <minipli@googlemail.com> | 2014-09-07 13:42:14 -0400 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2014-10-03 13:41:02 -0400 |
commit | 24ffd84b606dafa93a5f8f6e6dbaa06fbde11632 (patch) | |
tree | 1c9fcaa002c88bb78de9ae1a4f9467ea3fce6414 /arch/x86 | |
parent | b2fce819a841eed21034c10a6fe3a8f43532dfb2 (diff) |
x86/efi: Remove unused efi_call* macros
Complement commit 62fa6e69a436 ("x86/efi: Delete most of the efi_call*
macros") and delete the stub macros for the !CONFIG_EFI case, too. In
fact, there are no EFI calls in this case so we don't need a dummy for
efi_call() even.
Signed-off-by: Mathias Krause <minipli@googlemail.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/include/asm/efi.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/x86/include/asm/efi.h b/arch/x86/include/asm/efi.h index b39ee5f2c02d..5375df643818 100644 --- a/arch/x86/include/asm/efi.h +++ b/arch/x86/include/asm/efi.h | |||
@@ -188,16 +188,6 @@ extern struct efi_config *efi_early; | |||
188 | extern bool efi_reboot_required(void); | 188 | extern bool efi_reboot_required(void); |
189 | 189 | ||
190 | #else | 190 | #else |
191 | /* | ||
192 | * IF EFI is not configured, have the EFI calls return -ENOSYS. | ||
193 | */ | ||
194 | #define efi_call0(_f) (-ENOSYS) | ||
195 | #define efi_call1(_f, _a1) (-ENOSYS) | ||
196 | #define efi_call2(_f, _a1, _a2) (-ENOSYS) | ||
197 | #define efi_call3(_f, _a1, _a2, _a3) (-ENOSYS) | ||
198 | #define efi_call4(_f, _a1, _a2, _a3, _a4) (-ENOSYS) | ||
199 | #define efi_call5(_f, _a1, _a2, _a3, _a4, _a5) (-ENOSYS) | ||
200 | #define efi_call6(_f, _a1, _a2, _a3, _a4, _a5, _a6) (-ENOSYS) | ||
201 | static inline void parse_efi_setup(u64 phys_addr, u32 data_len) {} | 191 | static inline void parse_efi_setup(u64 phys_addr, u32 data_len) {} |
202 | static inline bool efi_reboot_required(void) | 192 | static inline bool efi_reboot_required(void) |
203 | { | 193 | { |