summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiří Klimeš <jklimes@redhat.com>2015-09-18 21:30:42 +0200
committerJiří Klimeš <jklimes@redhat.com>2015-09-21 09:04:35 +0200
commit3b11b85753cfc681aabe0795f976d29a444c1186 (patch)
treeb13fdbc803f0e8b28d2b0df728d2c93c3bfb7b7b
parent45f682e22225ccff745d2688d4475b7a0f23a210 (diff)
downloadNetworkManager-3b11b85753cfc681aabe0795f976d29a444c1186.tar.gz
wifi: remove unused variables
-rw-r--r--src/devices/wifi/nm-device-wifi.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/devices/wifi/nm-device-wifi.c b/src/devices/wifi/nm-device-wifi.c
index 754834d872..2996218ebc 100644
--- a/src/devices/wifi/nm-device-wifi.c
+++ b/src/devices/wifi/nm-device-wifi.c
@@ -742,8 +742,6 @@ complete_connection (NMDevice *device,
{
NMDeviceWifi *self = NM_DEVICE_WIFI (device);
NMSettingWireless *s_wifi;
- NMSettingWirelessSecurity *s_wsec;
- NMSetting8021x *s_8021x;
const char *setting_mac;
char *str_ssid = NULL;
NMAccessPoint *ap = NULL;
@@ -754,8 +752,6 @@ complete_connection (NMDevice *device,
const char *perm_hw_addr;
s_wifi = nm_connection_get_setting_wireless (connection);
- s_wsec = nm_connection_get_setting_wireless_security (connection);
- s_8021x = nm_connection_get_setting_802_1x (connection);
if (!specific_object) {
/* If not given a specific object, we need at minimum an SSID */