OSDN Git Service

efifb: Remove redundant efifb_setup_from_dmi stub
authorMichal Suchanek <msuchanek@suse.de>
Fri, 25 Feb 2022 20:51:35 +0000 (21:51 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Fri, 4 Mar 2022 19:55:44 +0000 (20:55 +0100)
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
include/linux/efi.h

index ccd4d3f..0cbbc41 100644 (file)
@@ -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 */