Commit c6d37299 authored by Larry Finger's avatar Larry Finger Committed by John W. Linville

rtlwifi: Remove all remaining references to variable 'noise' in rtl_stats struct

This completes removal of all places that reference variable 'noise'
in the rtl_stats struct. The definition of the struct is unchanged.
Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent dab3df5e
...@@ -478,7 +478,6 @@ bool rtl88ee_rx_query_desc(struct ieee80211_hw *hw, ...@@ -478,7 +478,6 @@ bool rtl88ee_rx_query_desc(struct ieee80211_hw *hw,
/*rx_status->qual = status->signal; */ /*rx_status->qual = status->signal; */
rx_status->signal = status->recvsignalpower + 10; rx_status->signal = status->recvsignalpower + 10;
/*rx_status->noise = -status->noise; */
if (status->packet_report_type == TX_REPORT2) { if (status->packet_report_type == TX_REPORT2) {
status->macid_valid_entry[0] = status->macid_valid_entry[0] =
GET_RX_RPT2_DESC_MACID_VALID_1(pdesc); GET_RX_RPT2_DESC_MACID_VALID_1(pdesc);
......
...@@ -420,7 +420,6 @@ bool rtl92ce_rx_query_desc(struct ieee80211_hw *hw, ...@@ -420,7 +420,6 @@ bool rtl92ce_rx_query_desc(struct ieee80211_hw *hw,
/*rx_status->qual = stats->signal; */ /*rx_status->qual = stats->signal; */
rx_status->signal = stats->recvsignalpower + 10; rx_status->signal = stats->recvsignalpower + 10;
/*rx_status->noise = -stats->noise; */
return true; return true;
} }
......
...@@ -330,7 +330,6 @@ bool rtl92se_rx_query_desc(struct ieee80211_hw *hw, struct rtl_stats *stats, ...@@ -330,7 +330,6 @@ bool rtl92se_rx_query_desc(struct ieee80211_hw *hw, struct rtl_stats *stats,
/*rx_status->qual = stats->signal; */ /*rx_status->qual = stats->signal; */
rx_status->signal = stats->rssi + 10; rx_status->signal = stats->rssi + 10;
/*rx_status->noise = -stats->noise; */
return true; return true;
} }
......
...@@ -359,7 +359,6 @@ bool rtl8723ae_rx_query_desc(struct ieee80211_hw *hw, ...@@ -359,7 +359,6 @@ bool rtl8723ae_rx_query_desc(struct ieee80211_hw *hw,
/*rx_status->qual = status->signal; */ /*rx_status->qual = status->signal; */
rx_status->signal = status->recvsignalpower + 10; rx_status->signal = status->recvsignalpower + 10;
/*rx_status->noise = -status->noise; */
return true; return true;
} }
......
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