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.
This commit is contained in:
Ben Chan
2013-10-24 17:39:59 +02:00
committed by Aleksander Morgado
parent 5dc6db1962
commit 9a9638ef20
+1 -1
View File
@@ -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);