mirror of
https://github.com/torvalds/linux.git
synced 2024-12-29 14:21:47 +00:00
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: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
dab3df5e88
commit
c6d3729984
@ -478,7 +478,6 @@ bool rtl88ee_rx_query_desc(struct ieee80211_hw *hw,
|
||||
|
||||
/*rx_status->qual = status->signal; */
|
||||
rx_status->signal = status->recvsignalpower + 10;
|
||||
/*rx_status->noise = -status->noise; */
|
||||
if (status->packet_report_type == TX_REPORT2) {
|
||||
status->macid_valid_entry[0] =
|
||||
GET_RX_RPT2_DESC_MACID_VALID_1(pdesc);
|
||||
|
@ -420,7 +420,6 @@ bool rtl92ce_rx_query_desc(struct ieee80211_hw *hw,
|
||||
|
||||
/*rx_status->qual = stats->signal; */
|
||||
rx_status->signal = stats->recvsignalpower + 10;
|
||||
/*rx_status->noise = -stats->noise; */
|
||||
|
||||
return true;
|
||||
}
|
||||
|
@ -330,7 +330,6 @@ bool rtl92se_rx_query_desc(struct ieee80211_hw *hw, struct rtl_stats *stats,
|
||||
|
||||
/*rx_status->qual = stats->signal; */
|
||||
rx_status->signal = stats->rssi + 10;
|
||||
/*rx_status->noise = -stats->noise; */
|
||||
|
||||
return true;
|
||||
}
|
||||
|
@ -359,7 +359,6 @@ bool rtl8723ae_rx_query_desc(struct ieee80211_hw *hw,
|
||||
|
||||
/*rx_status->qual = status->signal; */
|
||||
rx_status->signal = status->recvsignalpower + 10;
|
||||
/*rx_status->noise = -status->noise; */
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user