ath9k: Remove code which enables btcoex based on subsys id
authorVasanthakumar Thiagarajan <vasanth@atheros.com>
Fri, 26 Nov 2010 14:10:07 +0000 (06:10 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 29 Nov 2010 20:24:36 +0000 (15:24 -0500)
Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/btcoex.c
drivers/net/wireless/ath/ath9k/btcoex.h

index 6a92e57fddf0dc2c8127ef544dcdfd36d4d41d38..d33bf204c995e743f1650e053a7030fbcc110721 100644 (file)
@@ -35,29 +35,6 @@ struct ath_btcoex_config {
        bool bt_hold_rx_clear;
 };
 
-static const u16 ath_subsysid_tbl[] = {
-       AR9280_COEX2WIRE_SUBSYSID,
-       AT9285_COEX3WIRE_SA_SUBSYSID,
-       AT9285_COEX3WIRE_DA_SUBSYSID
-};
-
-/*
- * Checks the subsystem id of the device to see if it
- * supports btcoex
- */
-bool ath9k_hw_btcoex_supported(struct ath_hw *ah)
-{
-       int i;
-
-       if (!ah->hw_version.subsysid)
-               return false;
-
-       for (i = 0; i < ARRAY_SIZE(ath_subsysid_tbl); i++)
-               if (ah->hw_version.subsysid == ath_subsysid_tbl[i])
-                       return true;
-
-       return false;
-}
 
 void ath9k_hw_init_btcoex_hw(struct ath_hw *ah, int qnum)
 {
index 1ee5a15ccbb1a8c714692e52ddd81542e0b84411..588dfd464dd19938a59a3517729c1ed4330a6506 100644 (file)
@@ -49,7 +49,6 @@ struct ath_btcoex_hw {
        u32 bt_coex_mode2;      /* Register setting for AR_BT_COEX_MODE2 */
 };
 
-bool ath9k_hw_btcoex_supported(struct ath_hw *ah);
 void ath9k_hw_btcoex_init_2wire(struct ath_hw *ah);
 void ath9k_hw_btcoex_init_3wire(struct ath_hw *ah);
 void ath9k_hw_init_btcoex_hw(struct ath_hw *ah, int qnum);