lan_discovery_WOL: remove unused struct MyConfig
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
3613f27afc
commit
52f4f274b2
@ -878,12 +878,6 @@ pub struct LanPeers {
|
|||||||
pub peers: Vec<DiscoveryPeer>,
|
pub peers: Vec<DiscoveryPeer>,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Serialize, Deserialize)]
|
|
||||||
struct MyConfig {
|
|
||||||
version: u8,
|
|
||||||
api_key: String,
|
|
||||||
}
|
|
||||||
|
|
||||||
impl LanPeers {
|
impl LanPeers {
|
||||||
pub fn load() -> LanPeers {
|
pub fn load() -> LanPeers {
|
||||||
let _ = CONFIG.read().unwrap(); // for lock
|
let _ = CONFIG.read().unwrap(); // for lock
|
||||||
|
Loading…
x
Reference in New Issue
Block a user