lan_discovery_WOL: remove unused struct MyConfig

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou 2022-07-17 22:46:55 +08:00
parent 3613f27afc
commit 52f4f274b2

View File

@ -878,12 +878,6 @@ pub struct LanPeers {
pub peers: Vec<DiscoveryPeer>,
}
#[derive(Serialize, Deserialize)]
struct MyConfig {
version: u8,
api_key: String,
}
impl LanPeers {
pub fn load() -> LanPeers {
let _ = CONFIG.read().unwrap(); // for lock