[PATCH] base-sim: remove unused wait_for_unlock_id in SendPinPukContext
Ben Chan
benchan at chromium.org
Sat Jul 1 03:00:34 UTC 2017
Commit d27e40ae9 ("core: new `Initializing' state in the global modem
state machine") added a 'wait_for_unlock_id' field to SendPinPukContext,
but never actually set it up.
---
src/mm-base-sim.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/src/mm-base-sim.c b/src/mm-base-sim.c
index 6a790916..fdd9ee14 100644
--- a/src/mm-base-sim.c
+++ b/src/mm-base-sim.c
@@ -505,15 +505,11 @@ typedef struct {
MMBaseSim *self;
GSimpleAsyncResult *result;
GError *save_error;
- gulong wait_for_unlock_id;
} SendPinPukContext;
static void
send_pin_puk_context_complete_and_free (SendPinPukContext *ctx)
{
- if (ctx->wait_for_unlock_id)
- g_signal_handler_disconnect (ctx->self->priv->modem,
- ctx->wait_for_unlock_id);
if (ctx->save_error)
g_error_free (ctx->save_error);
g_simple_async_result_complete (ctx->result);
--
2.13.2
More information about the ModemManager-devel
mailing list