[PATCH] sierra: remove unused 'self' variable in scact_periodic_query_ready()
Aleksander Morgado
aleksander at aleksander.es
Mon Oct 22 09:24:12 UTC 2018
On 10/20/18 8:15 PM, Ben Chan wrote:
> ---
> plugins/sierra/mm-broadband-bearer-sierra.c | 2 --
> 1 file changed, 2 deletions(-)
>
Pushed to git master, thanks.
> diff --git a/plugins/sierra/mm-broadband-bearer-sierra.c b/plugins/sierra/mm-broadband-bearer-sierra.c
> index 1943d1ac..3a881498 100644
> --- a/plugins/sierra/mm-broadband-bearer-sierra.c
> +++ b/plugins/sierra/mm-broadband-bearer-sierra.c
> @@ -69,7 +69,6 @@ scact_periodic_query_ready (MMBaseModem *modem,
> GAsyncResult *res,
> GTask *task)
> {
> - MMBroadbandBearer *self;
> const gchar *response;
> GError *error = NULL;
> GList *pdp_active_list = NULL;
> @@ -77,7 +76,6 @@ scact_periodic_query_ready (MMBaseModem *modem,
> MMBearerConnectionStatus status = MM_BEARER_CONNECTION_STATUS_UNKNOWN;
> guint cid;
>
> - self = MM_BROADBAND_BEARER (g_task_get_source_object (task));
> cid = GPOINTER_TO_UINT (g_task_get_task_data (task));
>
> response = mm_base_modem_at_command_finish (modem, res, &error);
>
--
Aleksander
https://aleksander.es
More information about the ModemManager-devel
mailing list