Skip to content

Commit

Permalink
Remove unnecessary async
Browse files Browse the repository at this point in the history
  • Loading branch information
Serock3 committed Dec 13, 2023
1 parent a4673cd commit 4578bc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mullvad-daemon/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4578bc5

Please sign in to comment.