[PATCH 1/5] telit: remove unused 'flags' variable in mm_telit_get_4g_mm_bands
Aleksander Morgado
aleksander at aleksander.es
Wed Jul 12 09:06:48 UTC 2017
On 12/07/17 10:03, Ben Chan wrote:
> ---
> plugins/telit/mm-modem-helpers-telit.c | 4 ----
> 1 file changed, 4 deletions(-)
>
Pushed to git master, thanks!
> 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;
> }
>
>
--
Aleksander
https://aleksander.es
More information about the ModemManager-devel
mailing list