aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorSujith Manoharan <c_manoha@qca.qualcomm.com>2013-12-17 23:23:20 -0500
committerJohn W. Linville <linville@tuxdriver.com>2013-12-18 15:23:41 -0500
commitf5bf30db01053883a812402cadf2e23b6902bc03 (patch)
tree60e119fa76060e1048a62edd0a0dadc69807a874 /drivers/net/wireless
parent7b6ef9982df6ee5578fcc061a7f613908f1e65c5 (diff)
ath9k: Remove unneeded ref. count initialization
The interrupt reference counter is always initialized in ath9k_start(). Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r--drivers/net/wireless/ath/ath9k/init.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/init.c b/drivers/net/wireless/ath/ath9k/init.c
index 9d2c3eb9e34e..ea67c0100af2 100644
--- a/drivers/net/wireless/ath/ath9k/init.c
+++ b/drivers/net/wireless/ath/ath9k/init.c
@@ -705,7 +705,6 @@ static int ath9k_init_softc(u16 devid, struct ath_softc *sc,
705 ah->reg_ops.read = ath9k_ioread32; 705 ah->reg_ops.read = ath9k_ioread32;
706 ah->reg_ops.write = ath9k_iowrite32; 706 ah->reg_ops.write = ath9k_iowrite32;
707 ah->reg_ops.rmw = ath9k_reg_rmw; 707 ah->reg_ops.rmw = ath9k_reg_rmw;
708 atomic_set(&ah->intr_ref_cnt, -1);
709 sc->sc_ah = ah; 708 sc->sc_ah = ah;
710 pCap = &ah->caps; 709 pCap = &ah->caps;
711 710