wifi: remove unused variables

(cherry picked from commit 3b11b85753)
This commit is contained in:
Jiří Klimeš 2015-09-18 21:30:42 +02:00
parent 52923b6c73
commit e8bf4bed02

View file

@ -958,8 +958,6 @@ complete_connection (NMDevice *device,
NMDeviceWifi *self = NM_DEVICE_WIFI (device);
NMDeviceWifiPrivate *priv = NM_DEVICE_WIFI_GET_PRIVATE (self);
NMSettingWireless *s_wifi;
NMSettingWirelessSecurity *s_wsec;
NMSetting8021x *s_8021x;
const char *setting_mac;
char *str_ssid = NULL;
NMAccessPoint *ap = NULL;
@ -971,8 +969,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 */