mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-06 04:19:23 -04:00
staging: rtl8188eu: remove unused IQKMatrixRegSetting array
The IQKMatrixRegSetting array in struct odm_rf_cal is initialised but never used. Remove it. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Link: https://lore.kernel.org/r/20210725155902.32433-18-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
5b2bd53d90
commit
a4fccfcfe7
@@ -1087,12 +1087,6 @@ void rtl88eu_phy_iq_calibrate(struct adapter *adapt, bool recovery)
|
||||
patha_fill_iqk(adapt, pathaok, result, final,
|
||||
(reg_ea4 == 0));
|
||||
|
||||
if (final < 4) {
|
||||
for (i = 0; i < IQK_Matrix_REG_NUM; i++)
|
||||
dm_odm->RFCalibrateInfo.IQKMatrixRegSetting[0].Value[0][i] = result[final][i];
|
||||
dm_odm->RFCalibrateInfo.IQKMatrixRegSetting[0].bIQKDone = true;
|
||||
}
|
||||
|
||||
save_adda_registers(adapt, iqk_bb_reg_92c,
|
||||
dm_odm->RFCalibrateInfo.IQK_BB_backup_recover, 9);
|
||||
}
|
||||
|
||||
@@ -241,7 +241,6 @@ struct odm_rate_adapt {
|
||||
#define HP_THERMAL_NUM 8
|
||||
|
||||
#define AVG_THERMAL_NUM 8
|
||||
#define IQK_Matrix_REG_NUM 8
|
||||
#define IQK_Matrix_Settings_NUM (1 + 24 + 21)
|
||||
|
||||
#define DM_Type_ByFWi 0
|
||||
@@ -565,11 +564,6 @@ struct odm_ra_info {
|
||||
u8 PTSmoothFactor;
|
||||
};
|
||||
|
||||
struct ijk_matrix_regs_set {
|
||||
bool bIQKDone;
|
||||
s32 Value[1][IQK_Matrix_REG_NUM];
|
||||
};
|
||||
|
||||
struct odm_rf_cal {
|
||||
/* for tx power tracking */
|
||||
u32 RegA24; /* for TempCCK */
|
||||
@@ -613,7 +607,6 @@ struct odm_rf_cal {
|
||||
|
||||
u8 ThermalValue_HP[HP_THERMAL_NUM];
|
||||
u8 ThermalValue_HP_index;
|
||||
struct ijk_matrix_regs_set IQKMatrixRegSetting[IQK_Matrix_Settings_NUM];
|
||||
|
||||
u8 Delta_IQK;
|
||||
u8 Delta_LCK;
|
||||
|
||||
Reference in New Issue
Block a user