mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
staging: r8188eu: remove write-only variable bLCKInProgress
bLCKInProgress in struct odm_rf_cal is never read. Remove it. Acked-by: Michael Straube <straube.linux@gmail.com> Signed-off-by: Martin Kaiser <martin@kaiser.cx> Link: https://lore.kernel.org/r/20210911132338.1415-1-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
3f3a31b82c
commit
356bec58a2
@@ -1212,16 +1212,12 @@ void PHY_LCCalibrate_8188E(struct adapter *adapt)
|
||||
timecount += 50;
|
||||
}
|
||||
|
||||
dm_odm->RFCalibrateInfo.bLCKInProgress = true;
|
||||
|
||||
if (dm_odm->RFType == ODM_2T2R) {
|
||||
phy_LCCalibrate_8188E(adapt, true);
|
||||
} else {
|
||||
/* For 88C 1T1R */
|
||||
phy_LCCalibrate_8188E(adapt, false);
|
||||
}
|
||||
|
||||
dm_odm->RFCalibrateInfo.bLCKInProgress = false;
|
||||
}
|
||||
|
||||
static void phy_setrfpathswitch_8188e(struct adapter *adapt, bool main, bool is2t)
|
||||
|
||||
@@ -679,7 +679,6 @@ struct odm_rf_cal {
|
||||
u32 Reg864;
|
||||
|
||||
bool bIQKInitialized;
|
||||
bool bLCKInProgress;
|
||||
bool bAntennaDetected;
|
||||
u32 ADDA_backup[IQK_ADDA_REG_NUM];
|
||||
u32 IQK_MAC_backup[IQK_MAC_REG_NUM];
|
||||
|
||||
Reference in New Issue
Block a user