ath9k: Remove unneeded ref. count initialization
authorSujith Manoharan <[email protected]>
Wed, 18 Dec 2013 04:23:20 +0000 (09:53 +0530)
committerJohn W. Linville <[email protected]>
Wed, 18 Dec 2013 20:23:41 +0000 (15:23 -0500)
The interrupt reference counter is always initialized
in ath9k_start().

Signed-off-by: Sujith Manoharan <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
drivers/net/wireless/ath/ath9k/init.c

index 9d2c3eb9e34ee97dc3ffee084def858aab7a1ec1..ea67c0100af29344cd7370d069c9aadbbea2ebd1 100644 (file)
@@ -705,7 +705,6 @@ static int ath9k_init_softc(u16 devid, struct ath_softc *sc,
        ah->reg_ops.read = ath9k_ioread32;
        ah->reg_ops.write = ath9k_iowrite32;
        ah->reg_ops.rmw = ath9k_reg_rmw;
-       atomic_set(&ah->intr_ref_cnt, -1);
        sc->sc_ah = ah;
        pCap = &ah->caps;