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:
committed by
Aleksander Morgado
parent
5dc6db1962
commit
9a9638ef20
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user