From e716a306b1a6cc654523f6b911f15213d85acc85 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Sun, 23 May 2021 15:44:22 +0200 Subject: [PATCH] iface-modem-3gpp: ignore cancellation during sync() There is no input cancellable in the method, so the GTask will never get cancelled from the outside. --- src/mm-iface-modem-3gpp.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/mm-iface-modem-3gpp.c b/src/mm-iface-modem-3gpp.c index a230d8b7..3629a825 100644 --- a/src/mm-iface-modem-3gpp.c +++ b/src/mm-iface-modem-3gpp.c @@ -2600,12 +2600,6 @@ interface_syncing_step (GTask *task) MMIfaceModem3gpp *self; SyncingContext *ctx; - /* Don't run new steps if we're cancelled */ - if (g_task_return_error_if_cancelled (task)) { - g_object_unref (task); - return; - } - self = g_task_get_source_object (task); ctx = g_task_get_task_data (task);