aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2010-06-29 15:20:49 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-06-29 15:20:49 -0400
commit99aeed9cde404365f9f72da25518068cbbc40b89 (patch)
tree2b9d40a5975cf33477db785422dcf050d37c021d /drivers
parentc466d4efb86bb5aa327d6e43f62781a9faabfdae (diff)
ath9k: remove unused function ath9k_hw_keyisvalid
Reported-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/ath/ath9k/hw.c11
-rw-r--r--drivers/net/wireless/ath/ath9k/hw.h1
2 files changed, 0 insertions, 12 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c
index 1ed144038c36..9d22444dd456 100644
--- a/drivers/net/wireless/ath/ath9k/hw.c
+++ b/drivers/net/wireless/ath/ath9k/hw.c
@@ -1737,17 +1737,6 @@ bool ath9k_hw_set_keycache_entry(struct ath_hw *ah, u16 entry,
1737} 1737}
1738EXPORT_SYMBOL(ath9k_hw_set_keycache_entry); 1738EXPORT_SYMBOL(ath9k_hw_set_keycache_entry);
1739 1739
1740bool ath9k_hw_keyisvalid(struct ath_hw *ah, u16 entry)
1741{
1742 if (entry < ah->caps.keycache_size) {
1743 u32 val = REG_READ(ah, AR_KEYTABLE_MAC1(entry));
1744 if (val & AR_KEYTABLE_VALID)
1745 return true;
1746 }
1747 return false;
1748}
1749EXPORT_SYMBOL(ath9k_hw_keyisvalid);
1750
1751/******************************/ 1740/******************************/
1752/* Power Management (Chipset) */ 1741/* Power Management (Chipset) */
1753/******************************/ 1742/******************************/
diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h
index e9578a4c912f..f0e0cc9a9d78 100644
--- a/drivers/net/wireless/ath/ath9k/hw.h
+++ b/drivers/net/wireless/ath/ath9k/hw.h
@@ -863,7 +863,6 @@ bool ath9k_hw_keysetmac(struct ath_hw *ah, u16 entry, const u8 *mac);
863bool ath9k_hw_set_keycache_entry(struct ath_hw *ah, u16 entry, 863bool ath9k_hw_set_keycache_entry(struct ath_hw *ah, u16 entry,
864 const struct ath9k_keyval *k, 864 const struct ath9k_keyval *k,
865 const u8 *mac); 865 const u8 *mac);
866bool ath9k_hw_keyisvalid(struct ath_hw *ah, u16 entry);
867 866
868/* GPIO / RFKILL / Antennae */ 867/* GPIO / RFKILL / Antennae */
869void ath9k_hw_cfg_gpio_input(struct ath_hw *ah, u32 gpio); 868void ath9k_hw_cfg_gpio_input(struct ath_hw *ah, u32 gpio);