iwlwifi: mvm: rs: remove unused timestamp field
authorEyal Shapira <eyal@wizery.com>
Fri, 22 Nov 2013 12:27:20 +0000 (14:27 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 9 Dec 2013 20:29:47 +0000 (22:29 +0200)
Remove this as it's unused.

Signed-off-by: Eyal Shapira <eyal@wizery.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/rs.c
drivers/net/wireless/iwlwifi/mvm/rs.h

index 9249e52dafc952021af9aaefc9574e07be5a175c..0598f26b5da97b7660c075c1f00aa9c71d20c63b 100644 (file)
@@ -271,7 +271,6 @@ static void rs_rate_scale_clear_window(struct iwl_rate_scale_data *window)
        window->success_ratio = IWL_INVALID_VALUE;
        window->counter = 0;
        window->average_tpt = IWL_INVALID_VALUE;
-       window->stamp = 0;
 }
 
 static inline u8 rs_is_valid_ant(u8 valid_antenna, u8 ant_type)
@@ -428,9 +427,6 @@ static int rs_collect_tx_data(struct iwl_scale_tbl_info *tbl,
        else
                window->average_tpt = IWL_INVALID_VALUE;
 
-       /* Tag this window as having been updated */
-       window->stamp = jiffies;
-
        return 0;
 }
 
index e5d448c0d1af07881193d77183e8c58f9a4bc8fd..ae983bce2172466b21f6f60cdbaf7cbf739b6201 100644 (file)
@@ -257,7 +257,6 @@ struct iwl_rate_scale_data {
        s32 success_ratio;      /* per-cent * 128  */
        s32 counter;            /* number of frames attempted */
        s32 average_tpt;        /* success ratio * expected throughput */
-       unsigned long stamp;
 };
 
 /**