ath9k: Scrub beacon.c
PATCH 2/7 ath9k: Scrub beacon.c
Remove useless comments, fix indentation.
Also, remove all occurrences of ASSERT(vif) which are not needed.
Signed-off-by Sujith <[email protected]>
--- 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
@@ -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
@@ -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