aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2021-05-23 15:44:45 +0200
committerAleksander Morgado <aleksander@aleksander.es>2021-05-26 13:14:52 +0000
commita9868638a7fe7eca953902743fc569ec12e1483d (patch)
tree056d2bc96910108dc34804be04f6ab5be06b519b
parentac1ff45f44615d7f9bd5f8cbd758be32fb96f705 (diff)
iface-modem-time: ignore cancellation during sync()
There is no input cancellable in the method, so the GTask will never get cancelled from the outside.
-rw-r--r--src/mm-iface-modem-time.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mm-iface-modem-time.c b/src/mm-iface-modem-time.c
index e262b71d..0d4f3764 100644
--- a/src/mm-iface-modem-time.c
+++ b/src/mm-iface-modem-time.c
@@ -757,12 +757,6 @@ interface_syncing_step (GTask *task)
MMIfaceModemTime *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);