From: Sujith Manoharan Date: Wed, 18 Dec 2013 04:23:20 +0000 (+0530) Subject: ath9k: Remove unneeded ref. count initialization X-Git-Tag: v3.14-rc1~94^2~334^2^2~11 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=f5bf30db01053883a812402cadf2e23b6902bc03;p=linux.git ath9k: Remove unneeded ref. count initialization The interrupt reference counter is always initialized in ath9k_start(). Signed-off-by: Sujith Manoharan Signed-off-by: John W. Linville --- 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, 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;