telit: remove unused 'flags' variable in mm_telit_get_4g_mm_bands

This commit is contained in:
Ben Chan
2017-07-12 01:03:36 -07:00
committed by Aleksander Morgado
parent 99dd037a68
commit b6f40de1e1

View File

@@ -446,7 +446,6 @@ mm_telit_get_4g_mm_bands(GMatchInfo *match_info,
GArray **bands, GArray **bands,
GError **error) GError **error)
{ {
GArray *flags = NULL;
MMModemBand band; MMModemBand band;
gboolean ret = TRUE; gboolean ret = TRUE;
gchar *match_str = NULL; gchar *match_str = NULL;
@@ -489,9 +488,6 @@ end:
if (match_str != NULL) if (match_str != NULL)
g_free (match_str); g_free (match_str);
if (flags != NULL)
g_array_free (flags, TRUE);
return ret; return ret;
} }