diff --git a/src/network.c b/src/network.c index cc1287ec..52fb5169 100644 --- a/src/network.c +++ b/src/network.c @@ -294,11 +294,6 @@ const char *network_get_ssid(const struct network *network) return network->info->ssid; } -struct device *network_get_device(const struct network *network) -{ - return network->device; -} - const char *network_get_path(const struct network *network) { return network->object_path; diff --git a/src/network.h b/src/network.h index 84485f7e..a3651f0b 100644 --- a/src/network.h +++ b/src/network.h @@ -36,7 +36,6 @@ struct network *network_create(struct device *device, const char *ssid, enum security security); const char *network_get_ssid(const struct network *network); -struct device *network_get_device(const struct network *network); const char *network_get_path(const struct network *network); enum security network_get_security(const struct network *network); const uint8_t *network_get_psk(const struct network *network);