From 4dd1ad035c7585beea1e8dc612aa481128a8d4a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Imobach=20Gonz=C3=A1lez=20Sosa?= Date: Mon, 28 Aug 2023 14:10:42 +0100 Subject: [PATCH] Remove commented (and outdated) code --- rust/agama-lib/src/network/client.rs | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/rust/agama-lib/src/network/client.rs b/rust/agama-lib/src/network/client.rs index a281355de7..240d0359f0 100644 --- a/rust/agama-lib/src/network/client.rs +++ b/rust/agama-lib/src/network/client.rs @@ -193,20 +193,4 @@ impl<'a> NetworkClient<'a> { proxy.set_password(&wireless.password).await?; Ok(()) } - - // Replace with a better implemenation based on signals. - // async fn wait_for_connection(&self, id: &str) -> Result { - // loop { - // let mut retries = 0; - // match self.connections_proxy.get_connection(&id).await { - // Ok(path) => return Ok(path), - // Err(e) => { - // retries += 1; - // if retries > 3 { - // return Err(e.into()); - // }; - // } - // } - // } - // } }