aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2008-08-04 04:00:41 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-08-22 16:29:51 -0400
commit39351fa343289070f6f30bd0652e10c8d97f0a3b (patch)
treec5ccc4355b2fbd83cbcfe5c95b1b75e1745954a6
parent73ae98a1334c7ab7c4f01e8a1c0c773470979688 (diff)
iwlwifi: kill struct iwl4965_lq_mngr
This patch removes struct iwl4965_lq_mngr it is not used. Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Zhu Yi <yi.zhu@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-core.c1
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-dev.h15
2 files changed, 0 insertions, 16 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.c b/drivers/net/wireless/iwlwifi/iwl-core.c
index c72f72579bea..fbf75a62958d 100644
--- a/drivers/net/wireless/iwlwifi/iwl-core.c
+++ b/drivers/net/wireless/iwlwifi/iwl-core.c
@@ -876,7 +876,6 @@ int iwl_init_drv(struct iwl_priv *priv)
876 spin_lock_init(&priv->power_data.lock); 876 spin_lock_init(&priv->power_data.lock);
877 spin_lock_init(&priv->sta_lock); 877 spin_lock_init(&priv->sta_lock);
878 spin_lock_init(&priv->hcmd_lock); 878 spin_lock_init(&priv->hcmd_lock);
879 spin_lock_init(&priv->lq_mngr.lock);
880 879
881 INIT_LIST_HEAD(&priv->free_frames); 880 INIT_LIST_HEAD(&priv->free_frames);
882 881
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h
index 792030819502..f46e9cd1ca19 100644
--- a/drivers/net/wireless/iwlwifi/iwl-dev.h
+++ b/drivers/net/wireless/iwlwifi/iwl-dev.h
@@ -672,18 +672,6 @@ struct iwl_kw {
672 672
673#define TX_POWER_IWL_ILLEGAL_VOLTAGE -10000 673#define TX_POWER_IWL_ILLEGAL_VOLTAGE -10000
674 674
675struct iwl4965_lq_mngr {
676 spinlock_t lock;
677 s32 max_window_size;
678 s32 *expected_tpt;
679 u8 *next_higher_rate;
680 u8 *next_lower_rate;
681 unsigned long stamp;
682 unsigned long stamp_last;
683 u32 flush_time;
684 u32 tx_packets;
685};
686
687/* Sensitivity and chain noise calibration */ 675/* Sensitivity and chain noise calibration */
688#define INTERFERENCE_DATA_AVAILABLE __constant_cpu_to_le32(1) 676#define INTERFERENCE_DATA_AVAILABLE __constant_cpu_to_le32(1)
689#define INITIALIZATION_VALUE 0xFFFF 677#define INITIALIZATION_VALUE 0xFFFF
@@ -939,9 +927,6 @@ struct iwl_priv {
939 u8 last_phy_res[100]; 927 u8 last_phy_res[100];
940 928
941 /* Rate scaling data */ 929 /* Rate scaling data */
942 struct iwl4965_lq_mngr lq_mngr;
943
944 /* Rate scaling data */
945 s8 data_retry_limit; 930 s8 data_retry_limit;
946 u8 retry_rate; 931 u8 retry_rate;
947 932