Skip to contentSkip to conversation

ath9k: Scrub beacon.c

PATCH New Sujith 1 participant 1 message Mar 3, 2009 Networking drivers (wireless)

lore
Share & tools
lore

Sujith

author
#0 lore raw

PATCH 2/7 ath9k: Scrub beacon.c

Remove useless comments, fix indentation.
Also, remove all occurrences of ASSERT(vif) which are not needed.

---
 drivers/net/wireless/ath9k/ath9k.h  |    2 +-
 drivers/net/wireless/ath9k/beacon.c |  177 +++++++++++------------------------
 drivers/net/wireless/ath9k/main.c   |    2 +-
 3 files changed, 55 insertions(+), 126 deletions(-)
drivers/net/wireless/ath9k/ath9k.h +1 -1
index b60ad8d..7b1fbf3 100644
@@ -453,7 +453,7 @@ struct ath_beacon {
 	struct list_head bbuf;
 };
 
-void ath9k_beacon_tasklet(unsigned long data);
+void ath_beacon_tasklet(unsigned long data);
 void ath_beacon_config(struct ath_softc *sc, int if_id);
 int ath_beaconq_setup(struct ath_hw *ah);
 int ath_beacon_alloc(struct ath_softc *sc, int if_id);
drivers/net/wireless/ath9k/beacon.c +53 -124

374 lines not on this page · raw message

drivers/net/wireless/ath9k/main.c +1 -1
index 5f409b1..52d4f67 100644
@@ -1372,7 +1372,7 @@ static int ath_init(u16 devid, struct ath_softc *sc)
 	spin_lock_init(&sc->sc_resetlock);
 	mutex_init(&sc->mutex);
 	tasklet_init(&sc->intr_tq, ath9k_tasklet, (unsigned long)sc);
-	tasklet_init(&sc->bcon_tasklet, ath9k_beacon_tasklet,
+	tasklet_init(&sc->bcon_tasklet, ath_beacon_tasklet,
 		     (unsigned long)sc);
 
 	/*
Signature · 1 line
1.6.1