[PATCH] sierra: remove unused 'self' variable in scact_periodic_query_ready()
Ben Chan
benchan at chromium.org
Sat Oct 20 18:15:36 UTC 2018
---
plugins/sierra/mm-broadband-bearer-sierra.c | 2 --
1 file changed, 2 deletions(-)
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);
--
2.19.1.568.g152ad8e336-goog
More information about the ModemManager-devel
mailing list