iwlwifi: kill struct iwl4965_lq_mngr
authorTomas Winkler <tomas.winkler@intel.com>
Mon, 4 Aug 2008 08:00:41 +0000 (16:00 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 22 Aug 2008 20:29:51 +0000 (16:29 -0400)
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>
drivers/net/wireless/iwlwifi/iwl-core.c
drivers/net/wireless/iwlwifi/iwl-dev.h

index c72f72579beaeb2f70e2760a695f7b9268a533ab..fbf75a62958dd85f1d493ca8978219fa5f3df691 100644 (file)
@@ -876,7 +876,6 @@ int iwl_init_drv(struct iwl_priv *priv)
        spin_lock_init(&priv->power_data.lock);
        spin_lock_init(&priv->sta_lock);
        spin_lock_init(&priv->hcmd_lock);
-       spin_lock_init(&priv->lq_mngr.lock);
 
        INIT_LIST_HEAD(&priv->free_frames);
 
index 792030819502738e874ace48913c9180b0d35c3f..f46e9cd1ca192dfd4f2b3f29e3a558a13ab597f6 100644 (file)
@@ -672,18 +672,6 @@ struct iwl_kw {
 
 #define TX_POWER_IWL_ILLEGAL_VOLTAGE -10000
 
-struct iwl4965_lq_mngr {
-       spinlock_t lock;
-       s32 max_window_size;
-       s32 *expected_tpt;
-       u8 *next_higher_rate;
-       u8 *next_lower_rate;
-       unsigned long stamp;
-       unsigned long stamp_last;
-       u32 flush_time;
-       u32 tx_packets;
-};
-
 /* Sensitivity and chain noise calibration */
 #define INTERFERENCE_DATA_AVAILABLE    __constant_cpu_to_le32(1)
 #define INITIALIZATION_VALUE           0xFFFF
@@ -938,9 +926,6 @@ struct iwl_priv {
        struct iwl_ht_info current_ht_config;
        u8 last_phy_res[100];
 
-       /* Rate scaling data */
-       struct iwl4965_lq_mngr lq_mngr;
-
        /* Rate scaling data */
        s8 data_retry_limit;
        u8 retry_rate;