From 4578bc57d23e9a3d2a9d27a43995c6a875b11bf5 Mon Sep 17 00:00:00 2001 From: Sebastian Holmin Date: Wed, 13 Dec 2023 10:13:45 +0100 Subject: [PATCH] Remove unnecessary async --- mullvad-daemon/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mullvad-daemon/src/lib.rs b/mullvad-daemon/src/lib.rs index 106d9c9f3b3d..b49f220e7feb 100644 --- a/mullvad-daemon/src/lib.rs +++ b/mullvad-daemon/src/lib.rs @@ -1075,7 +1075,7 @@ where /// Recieves and handles the geographical exit location received from am.i.mullvad.net, i.e. the /// [`InternalDaemonEvent::LocationEvent`] event. - async fn handle_location_event(&mut self, request_id: usize, fetched_location: GeoIpLocation) { + fn handle_location_event(&mut self, request_id: usize, fetched_location: GeoIpLocation) { if self.location_handler.request_id != request_id { log::debug!("Location from am.i.mullvad.net belongs to an outdated tunnel state"); return;