From b95b75a211bb5eb46e983d14377625fc7595a5d1 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Wed, 30 Aug 2017 10:54:29 +0100 Subject: [PATCH] trivial: Remove unused function in the dell plugin Fixes: https://github.com/hughsie/fwupd/issues/209 --- plugins/dell/fu-plugin-dell.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/plugins/dell/fu-plugin-dell.c b/plugins/dell/fu-plugin-dell.c index 5826cad74..66abab1c1 100644 --- a/plugins/dell/fu-plugin-dell.c +++ b/plugins/dell/fu-plugin-dell.c @@ -65,15 +65,6 @@ typedef struct _DOCK_DESCRIPTION const gchar * desc; } DOCK_DESCRIPTION; -static void -_dell_smi_obj_free (FuDellSmiObj *obj) -{ - dell_smi_obj_free (obj->smi); - g_free (obj); -} - -G_DEFINE_AUTOPTR_CLEANUP_FUNC (FuDellSmiObj, _dell_smi_obj_free); - /* These are for matching the components */ #define WD15_EC_STR "2 0 2 2 0" #define TB16_EC_STR "2 0 2 1 0"