drop fu_dell_get_cable_type, unused

This commit is contained in:
Mario Limonciello 2017-10-12 15:58:52 -04:00
parent bce4ab675c
commit ed538c2b84
2 changed files with 0 additions and 20 deletions

View File

@ -219,23 +219,6 @@ fu_dell_get_dock_type (guint8 type)
return NULL;
}
guint32
fu_dell_get_cable_type (guint8 type)
{
g_autoptr (FuDellSmiObj) smi_obj = NULL;
DOCK_UNION buf;
/* not yet initialized, look it up */
if (type == CABLE_TYPE_NONE) {
smi_obj = g_malloc0 (sizeof(FuDellSmiObj));
smi_obj->smi = dell_smi_factory (DELL_SMI_DEFAULTS);
if (!fu_dell_query_dock (smi_obj, &buf))
return 0;
type = (buf.record->dock_info).cable_type;
}
return type;
}
gboolean
fu_dell_toggle_dock_mode (FuDellSmiObj *smi_obj, guint32 new_mode,
guint32 dock_location, GError **error)

View File

@ -107,9 +107,6 @@ fu_dell_query_dock (FuDellSmiObj *smi_obj, DOCK_UNION *buf);
const gchar*
fu_dell_get_dock_type (guint8 type);
guint32
fu_dell_get_cable_type (guint8 type);
gboolean
fu_dell_toggle_dock_mode (FuDellSmiObj *smi_obj, guint32 new_mode,
guint32 dock_location, GError **error);