staging: brcm80211: removed ap related comments
authorRoland Vossen <rvossen@broadcom.com>
Thu, 9 Dec 2010 18:36:08 +0000 (19:36 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 10 Dec 2010 00:29:48 +0000 (16:29 -0800)
Code cleanup, reaction on the 2nd email from Dan Carpenter.

Signed-off-by: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/sys/wlc_mac80211.c

index eb4013dab36c30e5126e67fcbc86ddc73eece4ba..e4a4365f4bf709c885a0f1e906b2c519982ce8c3 100644 (file)
@@ -2177,13 +2177,6 @@ uint wlc_detach(struct wlc_info *wlc)
        /* Detach from iovar manager */
        wlc_module_unregister(wlc->pub, "wlc_iovars", wlc);
 
-       /*
-          if (wlc->ap) {
-          wlc_ap_detach(wlc->ap);
-          wlc->ap = NULL;
-          }
-        */
-
        while (wlc->tx_queues != NULL) {
                wlc_txq_free(wlc, wlc->osh, wlc->tx_queues);
        }