#if 0 dmi_name_in_vendors()
PATCH 1/1 #if 0 dmi_name_in_vendors()
dmi_name_in_vendors() is no longer used.
Signed-off-by Adrian Bunk <[email protected]>
---
drivers/firmware/dmi_scan.c | 2 ++ include/linux/dmi.h | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-)
include/linux/dmi.h renamed from include/linux/dmi.h.old +0 -2
@@ -69,7 +69,6 @@ struct dmi_device *from);extern void dmi_scan_machine (void );extern int dmi_get_year (int field); -extern int dmi_name_in_vendors (char *str);#else
@@ -78,7 +77,6 @@static inline struct dmi_device *dmi_find_device (int type,const char *name,struct dmi_device *from) {return NULL ; }static inline int dmi_get_year (int year) {return 0 ; } -static inline int dmi_name_in_vendors (char *s) {return 0 ; }#endif
drivers/firmware/dmi_scan.c renamed from drivers/firmware/dmi_scan.c.old +2 -0
@@ -327,6 +327,7 @@EXPORT_SYMBOL (dmi_get_system_info); +#if 0 /** * dmi_name_in_vendors - Check if string is anywhere in the DMI vendor information. * @str: Case sensitive Name
@@ -345,6 +346,7 @@ return 0; }EXPORT_SYMBOL (dmi_name_in_vendors); +#endif /* 0 */ /** * dmi_find_device - find onboard device by type/name