summaryrefslogtreecommitdiff
path: root/include/linux/dmi.h
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2008-01-25 15:40:02 -0500
committerLen Brown <len.brown@intel.com>2008-02-03 17:37:02 -0500
commite6298c6d60838495978cdbe5555dc290785bb961 (patch)
tree935a2641d166372715701eec7e99bb0041bfa30e /include/linux/dmi.h
parent8964ebb8c35533f4084cc667079a0ce620356104 (diff)
downloadlinux-3.10-e6298c6d60838495978cdbe5555dc290785bb961.tar.gz
linux-3.10-e6298c6d60838495978cdbe5555dc290785bb961.tar.bz2
linux-3.10-e6298c6d60838495978cdbe5555dc290785bb961.zip
DMI: remove duplicate helper routine
Use existing dmi_get_system_info(), Delete duplicate dmi_get_slot() Spotted-by: Wim Van Sebroeck <wim@iguana.be> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/linux/dmi.h')
-rw-r--r--include/linux/dmi.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/dmi.h b/include/linux/dmi.h
index 5b42a659a30..b1251b2af56 100644
--- a/include/linux/dmi.h
+++ b/include/linux/dmi.h
@@ -79,7 +79,6 @@ extern void dmi_scan_machine(void);
extern int dmi_get_year(int field);
extern int dmi_name_in_vendors(const char *str);
extern int dmi_available;
-extern char *dmi_get_slot(int slot);
#else
@@ -90,7 +89,6 @@ static inline const struct dmi_device * dmi_find_device(int type, const char *na
static inline int dmi_get_year(int year) { return 0; }
static inline int dmi_name_in_vendors(const char *s) { return 0; }
#define dmi_available 0
-static inline char *dmi_get_slot(int slot) { return NULL; }
#endif