Commit a3463a1f authored by Jussi Kivilinna's avatar Jussi Kivilinna Committed by John W. Linville

rndis_wlan: remove unused variable from priv structure

Signed-off-by: default avatarJussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent c2aa4132
...@@ -503,7 +503,6 @@ struct rndis_wlan_private { ...@@ -503,7 +503,6 @@ struct rndis_wlan_private {
int infra_mode; int infra_mode;
bool connected; bool connected;
u8 bssid[ETH_ALEN]; u8 bssid[ETH_ALEN];
struct ndis_80211_ssid essid;
__le32 current_command_oid; __le32 current_command_oid;
/* encryption stuff */ /* encryption stuff */
...@@ -1026,7 +1025,6 @@ static int set_essid(struct usbnet *usbdev, struct ndis_80211_ssid *ssid) ...@@ -1026,7 +1025,6 @@ static int set_essid(struct usbnet *usbdev, struct ndis_80211_ssid *ssid)
return ret; return ret;
} }
if (ret == 0) { if (ret == 0) {
memcpy(&priv->essid, ssid, sizeof(priv->essid));
priv->radio_on = true; priv->radio_on = true;
netdev_dbg(usbdev->net, "%s(): radio_on = true\n", __func__); netdev_dbg(usbdev->net, "%s(): radio_on = true\n", __func__);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment