Skip to content

Commit c5647e0

Browse files
mistraubegregkh
authored andcommitted
staging: rtl8723bs: DoIQK_8723B is empty
The function DoIQK_8723B is empty, remove the function and code that uses it. Signed-off-by: Michael Straube <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 3a9061c commit c5647e0

File tree

3 files changed

+0
-19
lines changed

3 files changed

+0
-19
lines changed

drivers/staging/rtl8723bs/hal/HalPhyRf.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ enum pwrtrack_method {
1515
};
1616

1717
typedef void (*FuncSetPwr)(struct dm_odm_t *, enum pwrtrack_method, u8, u8);
18-
typedef void (*FuncIQK)(struct dm_odm_t *, u8, u8, u8);
1918
typedef void (*FuncLCK)(struct dm_odm_t *);
2019
typedef void (*FuncSwing)(struct dm_odm_t *, u8 **, u8 **, u8 **, u8 **);
2120

@@ -27,7 +26,6 @@ struct txpwrtrack_cfg {
2726
u8 RfPathCount;
2827
u32 ThermalRegAddr;
2928
FuncSetPwr ODM_TxPwrTrackSetPwr;
30-
FuncIQK DoIQK;
3129
FuncLCK PHY_LCCalibrate;
3230
FuncSwing GetDeltaSwingTable;
3331
};

drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -142,15 +142,6 @@ static void setCCKFilterCoefficient(struct dm_odm_t *pDM_Odm, u8 CCKSwingIndex)
142142
}
143143
}
144144

145-
void DoIQK_8723B(
146-
struct dm_odm_t *pDM_Odm,
147-
u8 DeltaThermalIndex,
148-
u8 ThermalValue,
149-
u8 Threshold
150-
)
151-
{
152-
}
153-
154145
/*-----------------------------------------------------------------------------
155146
* Function: odm_TxPwrTrackSetPwr88E()
156147
*
@@ -353,7 +344,6 @@ void ConfigureTxpowerTrack_8723B(struct txpwrtrack_cfg *pConfig)
353344
pConfig->ThermalRegAddr = RF_T_METER_8723B;
354345

355346
pConfig->ODM_TxPwrTrackSetPwr = ODM_TxPwrTrackSetPwr_8723B;
356-
pConfig->DoIQK = DoIQK_8723B;
357347
pConfig->PHY_LCCalibrate = PHY_LCCalibrate_8723B;
358348
pConfig->GetDeltaSwingTable = GetDeltaSwingTable_8723B;
359349
}

drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,6 @@
1818

1919
void ConfigureTxpowerTrack_8723B(struct txpwrtrack_cfg *pConfig);
2020

21-
void DoIQK_8723B(
22-
struct dm_odm_t *pDM_Odm,
23-
u8 DeltaThermalIndex,
24-
u8 ThermalValue,
25-
u8 Threshold
26-
);
27-
2821
void ODM_TxPwrTrackSetPwr_8723B(
2922
struct dm_odm_t *pDM_Odm,
3023
enum pwrtrack_method Method,

0 commit comments

Comments
 (0)