aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Chan <benchan@chromium.org>2017-07-12 01:03:36 -0700
committerAleksander Morgado <aleksander@aleksander.es>2017-07-12 11:04:09 +0200
commitb6f40de1e15bcb2d324157a5c24028f8a9089f74 (patch)
treefcfb1a33f019f3b7e75e5e46ea4a057903c0e724
parent99dd037a68654cf611caab82741a1db969c68242 (diff)
telit: remove unused 'flags' variable in mm_telit_get_4g_mm_bands
-rw-r--r--plugins/telit/mm-modem-helpers-telit.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/plugins/telit/mm-modem-helpers-telit.c b/plugins/telit/mm-modem-helpers-telit.c
index 3b227044..39e0d1bd 100644
--- a/plugins/telit/mm-modem-helpers-telit.c
+++ b/plugins/telit/mm-modem-helpers-telit.c
@@ -446,7 +446,6 @@ mm_telit_get_4g_mm_bands(GMatchInfo *match_info,
GArray **bands,
GError **error)
{
- GArray *flags = NULL;
MMModemBand band;
gboolean ret = TRUE;
gchar *match_str = NULL;
@@ -489,9 +488,6 @@ end:
if (match_str != NULL)
g_free (match_str);
- if (flags != NULL)
- g_array_free (flags, TRUE);
-
return ret;
}