diff options
author | Jussi Kivilinna <jussi.kivilinna@mbnet.fi> | 2010-12-21 15:44:34 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-12-22 15:43:31 -0500 |
commit | a3463a1fdc9aa0881760e54efbd62742275601a5 (patch) | |
tree | 3efcd05eb9b3ec69652240e778d25d7a6e9a0273 /drivers/net/wireless/rndis_wlan.c | |
parent | c2aa413279cde7c867fc90b07f83fff3c1e9e98d (diff) |
rndis_wlan: remove unused variable from priv structure
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rndis_wlan.c')
-rw-r--r-- | drivers/net/wireless/rndis_wlan.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/rndis_wlan.c b/drivers/net/wireless/rndis_wlan.c index d0992fcac7b6..aa21d867f0ee 100644 --- a/drivers/net/wireless/rndis_wlan.c +++ b/drivers/net/wireless/rndis_wlan.c | |||
@@ -503,7 +503,6 @@ struct rndis_wlan_private { | |||
503 | int infra_mode; | 503 | int infra_mode; |
504 | bool connected; | 504 | bool connected; |
505 | u8 bssid[ETH_ALEN]; | 505 | u8 bssid[ETH_ALEN]; |
506 | struct ndis_80211_ssid essid; | ||
507 | __le32 current_command_oid; | 506 | __le32 current_command_oid; |
508 | 507 | ||
509 | /* encryption stuff */ | 508 | /* encryption stuff */ |
@@ -1026,7 +1025,6 @@ static int set_essid(struct usbnet *usbdev, struct ndis_80211_ssid *ssid) | |||
1026 | return ret; | 1025 | return ret; |
1027 | } | 1026 | } |
1028 | if (ret == 0) { | 1027 | if (ret == 0) { |
1029 | memcpy(&priv->essid, ssid, sizeof(priv->essid)); | ||
1030 | priv->radio_on = true; | 1028 | priv->radio_on = true; |
1031 | netdev_dbg(usbdev->net, "%s(): radio_on = true\n", __func__); | 1029 | netdev_dbg(usbdev->net, "%s(): radio_on = true\n", __func__); |
1032 | } | 1030 | } |