DMI: remove duplicate helper routine

Use existing dmi_get_system_info(),
Delete duplicate dmi_get_slot()

Spotted-by: Wim Van Sebroeck <[email protected]>
Signed-off-by: Len Brown <[email protected]>
This commit is contained in:
Len Brown 2008-01-25 15:40:02 -05:00
commit e6298c6d60
3 changed files with 6 additions and 17 deletions

View file

@ -489,12 +489,3 @@ int dmi_get_year(int field)
return year;
}
/**
* dmi_get_slot - return dmi_ident[slot]
* @slot: index into dmi_ident[]
*/
char *dmi_get_slot(int slot)
{
return(dmi_ident[slot]);
}