[PATCH] broadband-bearer: remove unused 'self' variables
Ben Chan
benchan at chromium.org
Sat Oct 20 18:15:23 UTC 2018
---
src/mm-broadband-bearer.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/src/mm-broadband-bearer.c b/src/mm-broadband-bearer.c
index 1b13921a..b5692d43 100644
--- a/src/mm-broadband-bearer.c
+++ b/src/mm-broadband-bearer.c
@@ -1410,11 +1410,8 @@ data_flash_cdma_ready (MMPortSerial *data,
GAsyncResult *res,
GTask *task)
{
- MMBroadbandBearer *self;
GError *error = NULL;
- self = g_task_get_source_object (task);
-
mm_port_serial_flash_finish (data, res, &error);
/* We kept the serial port open during connection, now we close that open
@@ -1540,11 +1537,9 @@ data_flash_3gpp_ready (MMPortSerial *data,
GAsyncResult *res,
GTask *task)
{
- MMBroadbandBearer *self;
DetailedDisconnectContext *ctx;
GError *error = NULL;
- self = g_task_get_source_object (task);
ctx = g_task_get_task_data (task);
mm_port_serial_flash_finish (data, res, &error);
--
2.19.1.568.g152ad8e336-goog
More information about the ModemManager-devel
mailing list