Return-path: Received: from s72.web-hosting.com ([198.187.29.21]:36585 "EHLO s72.web-hosting.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751149Ab3LQJWo (ORCPT ); Tue, 17 Dec 2013 04:22:44 -0500 From: Sujith Manoharan To: John Linville Cc: linux-wireless@vger.kernel.org Subject: [PATCH 1/4] ath9k: Remove unneeded ref. count initialization Date: Tue, 17 Dec 2013 14:47:46 +0530 Message-Id: <1387271869-12780-1-git-send-email-sujith@msujith.org> (sfid-20131217_102249_217842_170C0C8F) Sender: linux-wireless-owner@vger.kernel.org List-ID: From: Sujith Manoharan The interrupt reference counter is always initialized in ath9k_start(). Signed-off-by: Sujith Manoharan --- drivers/net/wireless/ath/ath9k/init.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath9k/init.c b/drivers/net/wireless/ath/ath9k/init.c index 9d2c3eb..ea67c01 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; -- 1.8.5.1