All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/4] mac80211: remove unused code
@ 2007-04-29  0:32 Jiri Benc
  2007-04-29  0:33 ` [PATCH 2/4] mac80211: remove test_mode Jiri Benc
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Jiri Benc @ 2007-04-29  0:32 UTC (permalink / raw)
  To: linux-wireless

Remove code that is commented out and doesn't even compile when uncommented.

Signed-off-by: Jiri Benc <jbenc@suse.cz>

---
 net/mac80211/ieee80211_ioctl.c |    8 --------
 1 files changed, 8 deletions(-)

--- dscape.orig/net/mac80211/ieee80211_ioctl.c
+++ dscape/net/mac80211/ieee80211_ioctl.c
@@ -1025,14 +1025,6 @@ static int ieee80211_ioctl_add_if(struct
 
 		res = ieee80211_if_add(dev, param->u.if_info.name, NULL,
 				       IEEE80211_IF_TYPE_VLAN);
-		if (res)
-			return res;
-#if 0
-		res = ieee80211_if_update_vlan(new_dev, vlan->id);
-		if (res)
-			__ieee80211_if_del(wdev_priv(dev->ieee80211_ptr),
-					   IEEE80211_DEV_TO_SUB_IF(new_dev));
-#endif
 		return res;
 	case HOSTAP_IF_BSS:
 		bss = (struct hostapd_if_bss *) param->u.if_info.data;


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

end of thread, other threads:[~2007-04-29 12:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-29  0:32 [PATCH 1/4] mac80211: remove unused code Jiri Benc
2007-04-29  0:33 ` [PATCH 2/4] mac80211: remove test_mode Jiri Benc
2007-04-29  0:33 ` [PATCH 3/4] mac80211: document requirement for atomicity of callbacks Jiri Benc
2007-04-29  9:15   ` Michael Buesch
2007-04-29  9:20     ` Ivo van Doorn
2007-04-29 10:49     ` Jiri Benc
2007-04-29 12:53       ` Michael Buesch
2007-04-29  0:34 ` [PATCH] mac80211: add copyrights Jiri Benc

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.