commit 8606f6e96a5173e029932018386cb4d04d83950a
parent 87dde21ec5d058033fcda497c519f221c0262942
Author: Denis Kenzior <denkenz@gmail.com>
Date: Thu, 15 Jul 2021 18:01:11 -0500
network: remove unused method
Diffstat:
2 files changed, 0 insertions(+), 6 deletions(-)
diff --git 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
@@ -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);