aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBen Chan <benchan@chromium.org>2017-06-30 20:00:34 -0700
committerAleksander Morgado <aleksander@aleksander.es>2017-07-03 10:29:06 +0200
commitdfcffbae04e0f9147c874f1df616a7b6287397ac (patch)
treef5bdd253fa1a872b92cd9ceb7a689b6acb435445 /src
parent524acd75966d283dda0ba7d748b16ce6902a2868 (diff)
base-sim: remove unused wait_for_unlock_id in SendPinPukContext
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.
Diffstat (limited to 'src')
-rw-r--r--src/mm-base-sim.c4
1 files changed, 0 insertions, 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);