Search Linux Wireless

[PATCH] mac80211: remove useless sdata variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dunno why I slipped that variable in...

Signed-off-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx>
---
 net/mac80211/ieee80211_sta.c |    2 --
 1 file changed, 2 deletions(-)

--- everything.orig/net/mac80211/ieee80211_sta.c	2007-12-21 01:02:11.253160428 +0100
+++ everything/net/mac80211/ieee80211_sta.c	2007-12-21 01:02:32.113165907 +0100
@@ -458,12 +458,10 @@ static void ieee80211_set_associated(str
 		return;
 
 	if (assoc) {
-		struct ieee80211_sub_if_data *sdata;
 		struct ieee80211_sta_bss *bss;
 
 		ifsta->flags |= IEEE80211_STA_ASSOCIATED;
 
-		sdata = IEEE80211_DEV_TO_SUB_IF(dev);
 		if (sdata->vif.type != IEEE80211_IF_TYPE_STA)
 			return;
 


-
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux