aboutsummaryrefslogtreecommitdiff
path: root/src/mm-iface-modem.c
diff options
context:
space:
mode:
authorBen Chan <benchan@chromium.org>2013-10-24 08:38:16 -0700
committerAleksander Morgado <aleksander@lanedo.com>2013-10-24 17:39:59 +0200
commit9a9638ef2098e11f3496ad51ed2471df869a1986 (patch)
tree8b18cb18aa3503b44c4e24b800b61d296313c013 /src/mm-iface-modem.c
parent5dc6db19621ba53c883741edd01b10dd18260f9b (diff)
iface-modem: remove unnecessary G_SIMPLE_ASYNC_RESULT() cast
This patch removes an unnecessary G_SIMPLE_ASYNC_RESULT() cast of the 'result' field, which is already of type GSimpleAsyncResult, of InternalLoadUnlockRequiredContext.
Diffstat (limited to 'src/mm-iface-modem.c')
-rw-r--r--src/mm-iface-modem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mm-iface-modem.c b/src/mm-iface-modem.c
index 433dbaca..77c9c657 100644
--- a/src/mm-iface-modem.c
+++ b/src/mm-iface-modem.c
@@ -304,7 +304,7 @@ load_unlock_required_ready (MMIfaceModem *self,
}
/* Got the lock value, return it */
- g_simple_async_result_set_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (ctx->result),
+ g_simple_async_result_set_op_res_gpointer (ctx->result,
GUINT_TO_POINTER (lock),
NULL);
internal_load_unlock_required_context_complete_and_free (ctx);