summaryrefslogtreecommitdiff
path: root/include/linux/efi.h
diff options
context:
space:
mode:
authorMichal Suchanek <msuchanek@suse.de>2022-02-25 23:51:35 +0300
committerThomas Zimmermann <tzimmermann@suse.de>2022-03-04 22:55:44 +0300
commitfd8be27e50e04f6e80af0f3e327cced525558256 (patch)
tree908cd12e8b616c63325becdd9821795eb47e9c75 /include/linux/efi.h
parent8b766b0f8eece55155146f7628610ce54a065e0f (diff)
downloadlinux-fd8be27e50e04f6e80af0f3e327cced525558256.tar.xz
efifb: Remove redundant efifb_setup_from_dmi stub
efifb is the only user of efifb_setup_from_dmi which is provided by sysfb which is selected by efifb. That makes the stub redundant. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Javier Martinez Canillas <javierm@redhat.com> Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Link: https://patchwork.freedesktop.org/patch/msgid/7416c439d68e9e96068ea5c77e05c99c7df41750.1645822213.git.msuchanek@suse.de
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 ccd4d3f91c98..0cbbc4103632 100644
--- a/include/linux/efi.h
+++ b/include/linux/efi.h
@@ -1329,10 +1329,6 @@ static inline struct efi_mokvar_table_entry *efi_mokvar_entry_find(
}
#endif
-#ifdef CONFIG_SYSFB
extern void efifb_setup_from_dmi(struct screen_info *si, const char *opt);
-#else
-static inline void efifb_setup_from_dmi(struct screen_info *si, const char *opt) { }
-#endif
#endif /* _LINUX_EFI_H */