[PATCH] base-call: remove unused 'self' variables
Ben Chan
benchan at chromium.org
Sat Oct 20 07:46:44 UTC 2018
---
src/mm-base-call.c | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/src/mm-base-call.c b/src/mm-base-call.c
index c128b601..79d296d9 100644
--- a/src/mm-base-call.c
+++ b/src/mm-base-call.c
@@ -875,12 +875,9 @@ call_start_ready (MMBaseModem *modem,
GAsyncResult *res,
GTask *task)
{
- MMBaseCall *self;
GError *error = NULL;
const gchar *response = NULL;
- self = g_task_get_source_object (task);
-
response = mm_base_modem_at_command_finish (modem, res, &error);
/* check response for error */
@@ -931,12 +928,9 @@ call_accept_ready (MMBaseModem *modem,
GAsyncResult *res,
GTask *task)
{
- MMBaseCall *self;
GError *error = NULL;
const gchar *response;
- self = g_task_get_source_object (task);
-
response = mm_base_modem_at_command_finish (modem, res, &error);
/* check response for error */
@@ -983,11 +977,8 @@ call_hangup_ready (MMBaseModem *modem,
GAsyncResult *res,
GTask *task)
{
- MMBaseCall *self;
GError *error = NULL;
- self = g_task_get_source_object (task);
-
mm_base_modem_at_command_finish (modem, res, &error);
if (error)
--
2.19.1.568.g152ad8e336-goog
More information about the ModemManager-devel
mailing list