From 9de7c9242929e2c655bd364d395706e85cf89469 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Fri, 7 Nov 2014 21:37:39 -0600 Subject: [PATCH] wiphy: Remove unneeded wiphy_set_ssid function --- src/wiphy.c | 7 ------- src/wiphy.h | 2 -- 2 files changed, 9 deletions(-) diff --git a/src/wiphy.c b/src/wiphy.c index 08acf334..08b38f34 100644 --- a/src/wiphy.c +++ b/src/wiphy.c @@ -38,8 +38,6 @@ #include "src/wiphy.h" #include "src/dbus.h" -static const char *network_ssid = NULL; - static struct l_genl *genl = NULL; static struct l_genl_family *nl80211 = NULL; static int scheduled_scan_interval = 60; /* in secs */ @@ -1383,8 +1381,3 @@ void wiphy_notify_dellink(uint32_t index) l_queue_foreach(wiphy_list, wiphy_check_dellink, L_UINT_TO_PTR(index)); } - -void wiphy_set_ssid(const char *ssid) -{ - network_ssid = ssid; -} diff --git a/src/wiphy.h b/src/wiphy.h index bad0179c..89c0aa16 100644 --- a/src/wiphy.h +++ b/src/wiphy.h @@ -32,8 +32,6 @@ bool wiphy_exit(void); void wiphy_notify_dellink(uint32_t index); -void wiphy_set_ssid(const char *ssid); - bool __iwd_device_append_properties(struct netdev *netdev, struct l_dbus_message_builder *builder); void __iwd_device_foreach(iwd_device_foreach_func func, void *user_data);