summaryrefslogtreecommitdiffstats
path: root/drivers/firmware/efi/efi.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-05-25 08:55:12 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-05-25 08:55:12 +0200
commitf7d8f3f092d001f8d91552d2697643e727694942 (patch)
tree0dfa61cc5b94eef94dfbaf1efdc362385792d0f2 /drivers/firmware/efi/efi.c
parentdriver core: Remove unnecessary is_fwnode_dev variable in device_add() (diff)
parentLinux 5.7-rc7 (diff)
downloadlinux-f7d8f3f092d001f8d91552d2697643e727694942.tar.xz
linux-f7d8f3f092d001f8d91552d2697643e727694942.zip
Merge 5.7-rc7 into driver-core-next
We need the driver core fixes in here as well Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/firmware/efi/efi.c')
-rw-r--r--drivers/firmware/efi/efi.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/firmware/efi/efi.c b/drivers/firmware/efi/efi.c
index 911a2bd0f6b7..4e3055238f31 100644
--- a/drivers/firmware/efi/efi.c
+++ b/drivers/firmware/efi/efi.c
@@ -130,11 +130,8 @@ static ssize_t systab_show(struct kobject *kobj,
if (efi.smbios != EFI_INVALID_TABLE_ADDR)
str += sprintf(str, "SMBIOS=0x%lx\n", efi.smbios);
- if (IS_ENABLED(CONFIG_IA64) || IS_ENABLED(CONFIG_X86)) {
- extern char *efi_systab_show_arch(char *str);
-
+ if (IS_ENABLED(CONFIG_IA64) || IS_ENABLED(CONFIG_X86))
str = efi_systab_show_arch(str);
- }
return str - buf;
}