diff options
author | Ben Chan <benchan@chromium.org> | 2017-06-30 20:00:34 -0700 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2017-07-03 10:29:06 +0200 |
commit | dfcffbae04e0f9147c874f1df616a7b6287397ac (patch) | |
tree | f5bdd253fa1a872b92cd9ceb7a689b6acb435445 | |
parent | 524acd75966d283dda0ba7d748b16ce6902a2868 (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.
-rw-r--r-- | src/mm-base-sim.c | 4 |
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); |