From patchwork Wed Jul 29 09:35:23 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vasanthakumar Thiagarajan X-Patchwork-Id: 38093 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n6T9h0Oi018036 for ; Wed, 29 Jul 2009 09:43:00 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753606AbZG2Jm7 (ORCPT ); Wed, 29 Jul 2009 05:42:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753607AbZG2Jm7 (ORCPT ); Wed, 29 Jul 2009 05:42:59 -0400 Received: from mail.atheros.com ([12.36.123.2]:27323 "EHLO mail.atheros.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753603AbZG2Jm6 (ORCPT ); Wed, 29 Jul 2009 05:42:58 -0400 Received: from mail.atheros.com ([10.10.20.108]) by sidewinder.atheros.com for ; Wed, 29 Jul 2009 02:42:59 -0700 Received: from localhost.localdomain (10.12.4.14) by SC1EXHC-02.global.atheros.com (10.10.20.111) with Microsoft SMTP Server id 8.0.813.0; Wed, 29 Jul 2009 02:42:54 -0700 From: Vasanthakumar Thiagarajan To: CC: , , , Subject: [PATCH 3/3] ath9k: Remove unused ath9k_hw_intrget() Date: Wed, 29 Jul 2009 15:05:23 +0530 Message-ID: <1248860123-12079-3-git-send-email-vasanth@atheros.com> X-Mailer: git-send-email 1.5.5.1 In-Reply-To: <1248860123-12079-2-git-send-email-vasanth@atheros.com> References: <1248860123-12079-1-git-send-email-vasanth@atheros.com> <1248860123-12079-2-git-send-email-vasanth@atheros.com> MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Signed-off-by: Vasanthakumar Thiagarajan --- drivers/net/wireless/ath/ath9k/hw.c | 5 ----- drivers/net/wireless/ath/ath9k/hw.h | 1 - 2 files changed, 0 insertions(+), 6 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c index 431854c..7a0a6ae 100644 --- a/drivers/net/wireless/ath/ath9k/hw.c +++ b/drivers/net/wireless/ath/ath9k/hw.c @@ -3152,11 +3152,6 @@ bool ath9k_hw_getisr(struct ath_hw *ah, enum ath9k_int *masked) return true; } -enum ath9k_int ath9k_hw_intrget(struct ath_hw *ah) -{ - return ah->mask_reg; -} - enum ath9k_int ath9k_hw_set_interrupts(struct ath_hw *ah, enum ath9k_int ints) { u32 omask = ah->mask_reg; diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h index 2e196df..93a8930 100644 --- a/drivers/net/wireless/ath/ath9k/hw.h +++ b/drivers/net/wireless/ath/ath9k/hw.h @@ -612,7 +612,6 @@ void ath9k_hw_configpcipowersave(struct ath_hw *ah, int restore); /* Interrupt Handling */ bool ath9k_hw_intrpend(struct ath_hw *ah); bool ath9k_hw_getisr(struct ath_hw *ah, enum ath9k_int *masked); -enum ath9k_int ath9k_hw_intrget(struct ath_hw *ah); enum ath9k_int ath9k_hw_set_interrupts(struct ath_hw *ah, enum ath9k_int ints); void ath9k_hw_btcoex_enable(struct ath_hw *ah);