[PATCH 1/5] telit: remove unused 'flags' variable in mm_telit_get_4g_mm_bands
Ben Chan
benchan at chromium.org
Wed Jul 12 08:03:36 UTC 2017
---
plugins/telit/mm-modem-helpers-telit.c | 4 ----
1 file changed, 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;
}
--
2.13.2.932.g7449e964c-goog
More information about the ModemManager-devel
mailing list