Commit 39351fa3 authored by Tomas Winkler's avatar Tomas Winkler Committed by John W. Linville

iwlwifi: kill struct iwl4965_lq_mngr

This patch removes struct iwl4965_lq_mngr it is not used.
Signed-off-by: default avatarTomas Winkler <tomas.winkler@intel.com>
Signed-off-by: default avatarZhu Yi <yi.zhu@intel.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 73ae98a1
...@@ -876,7 +876,6 @@ int iwl_init_drv(struct iwl_priv *priv) ...@@ -876,7 +876,6 @@ int iwl_init_drv(struct iwl_priv *priv)
spin_lock_init(&priv->power_data.lock); spin_lock_init(&priv->power_data.lock);
spin_lock_init(&priv->sta_lock); spin_lock_init(&priv->sta_lock);
spin_lock_init(&priv->hcmd_lock); spin_lock_init(&priv->hcmd_lock);
spin_lock_init(&priv->lq_mngr.lock);
INIT_LIST_HEAD(&priv->free_frames); INIT_LIST_HEAD(&priv->free_frames);
......
...@@ -672,18 +672,6 @@ struct iwl_kw { ...@@ -672,18 +672,6 @@ struct iwl_kw {
#define TX_POWER_IWL_ILLEGAL_VOLTAGE -10000 #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 */ /* Sensitivity and chain noise calibration */
#define INTERFERENCE_DATA_AVAILABLE __constant_cpu_to_le32(1) #define INTERFERENCE_DATA_AVAILABLE __constant_cpu_to_le32(1)
#define INITIALIZATION_VALUE 0xFFFF #define INITIALIZATION_VALUE 0xFFFF
...@@ -938,9 +926,6 @@ struct iwl_priv { ...@@ -938,9 +926,6 @@ struct iwl_priv {
struct iwl_ht_info current_ht_config; struct iwl_ht_info current_ht_config;
u8 last_phy_res[100]; u8 last_phy_res[100];
/* Rate scaling data */
struct iwl4965_lq_mngr lq_mngr;
/* Rate scaling data */ /* Rate scaling data */
s8 data_retry_limit; s8 data_retry_limit;
u8 retry_rate; u8 retry_rate;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment