diff --git a/src/network.c b/src/network.c index 717e7316..503926cc 100644 --- a/src/network.c +++ b/src/network.c @@ -339,11 +339,6 @@ bool network_set_passphrase(struct network *network, const char *passphrase) return __network_set_passphrase(network, passphrase); } -struct l_queue *network_get_secrets(const struct network *network) -{ - return network->secrets; -} - bool network_set_psk(struct network *network, const uint8_t *psk) { if (network_get_security(network) != SECURITY_PSK) diff --git a/src/network.h b/src/network.h index 14a8fdc8..0130592e 100644 --- a/src/network.h +++ b/src/network.h @@ -41,7 +41,6 @@ const char *network_get_ssid(const struct network *network); const char *network_get_path(const struct network *network); enum security network_get_security(const struct network *network); bool network_set_passphrase(struct network *network, const char *passphrase); -struct l_queue *network_get_secrets(const struct network *network); int network_get_signal_strength(const struct network *network); struct l_settings *network_get_settings(const struct network *network);