All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mac80211: remove useless sdata variable
@ 2007-12-21  0:03 Johannes Berg
  2007-12-21 12:09 ` Andreas Schwab
  0 siblings, 1 reply; 6+ messages in thread
From: Johannes Berg @ 2007-12-21  0:03 UTC (permalink / raw)
  To: John Linville; +Cc: linux-wireless, Michael Wu

Dunno why I slipped that variable in...

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
---
 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;
 



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-12-21 16:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-21  0:03 [PATCH] mac80211: remove useless sdata variable Johannes Berg
2007-12-21 12:09 ` Andreas Schwab
2007-12-21 12:34   ` Johannes Berg
2007-12-21 12:58     ` Andreas Schwab
2007-12-21 14:15       ` John W. Linville
2007-12-21 16:35         ` Johannes Berg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.