From 966cad3696e85b5d78ac03ea87d63599d98013dc Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Tue, 4 Sep 2018 11:39:56 -0500 Subject: [PATCH] network: Remove unused function --- src/network.c | 5 ----- src/network.h | 1 - 2 files changed, 6 deletions(-) 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);