Search Linux Wireless

Re: [PATCH 1/3] wifi: rtlwifi: Move code from rtl8192de to rtl8192d-common

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2024-03-13 at 01:21 +0200, Bitterblue Smith wrote:

> 

> rtl92d_dm_check_txpower_tracking_thermal_meter() is actually
> unused in rtl8192de. Should I just delete it?
> 
> I don't remember why I made it static, but that introduced
> a warning.


I feel we can set rtlpriv->dm.txpower_tracking = false, and then uncomment
/* rtl92d_dm_check_txpower_tracking_thermal_meter(hw); */


More, this function appears twice: 

$ git grep rtl92d_dm_check_txpower_tracking_thermal_meter
rtl8192de/dm.c:static void rtl92d_dm_check_txpower_tracking_thermal_meter(struct ieee80211_hw *hw)
rtl8192de/dm.c:         /* rtl92d_dm_check_txpower_tracking_thermal_meter(hw); */
rtl8192du/dm.c:void rtl92d_dm_check_txpower_tracking_thermal_meter(struct ieee80211_hw *hw)
rtl8192du/dm.c:         rtl92d_dm_check_txpower_tracking_thermal_meter(hw);

I suppose you should move rtl92d_dm_check_txpower_tracking_thermal_meter()
to dm_common.c. 

Ping-Ke 





[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux