mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 12:57:06 +09:00
staging: r8188eu: TXPowerTrackingCallbackCnt is set but not used
TXPowerTrackingCallbackCnt in struct odm_rf_cal is set but not used. Remove it. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Link: https://lore.kernel.org/r/20220205113741.379070-3-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
7f03a457f5
commit
2ccc526ec9
@@ -129,7 +129,6 @@ odm_TXPowerTrackingCallback_ThermalMeter_8188E(
|
||||
/* 2012/04/25 MH Add for tx power tracking to set tx power in tx agc for 88E. */
|
||||
odm_TxPwrTrackSetPwr88E(dm_odm);
|
||||
|
||||
dm_odm->RFCalibrateInfo.TXPowerTrackingCallbackCnt++; /* cosa add for debug */
|
||||
dm_odm->RFCalibrateInfo.bTXPowerTrackingInit = true;
|
||||
|
||||
/* <Kordan> RFCalibrateInfo.RegA24 will be initialized when ODM HW configuring, but MP configures with para files. */
|
||||
|
||||
@@ -253,7 +253,6 @@ struct odm_rf_cal {
|
||||
|
||||
bool bReloadtxpowerindex;
|
||||
u8 bRfPiEnable;
|
||||
u32 TXPowerTrackingCallbackCnt; /* cosa add for debug */
|
||||
|
||||
u8 bCCKinCH14;
|
||||
u8 CCK_index;
|
||||
|
||||
Reference in New Issue
Block a user