提交 d743db9f 编写于 作者: A Amitoj Kaur Chawla 提交者: Greg Kroah-Hartman

staging: rtl8712: rtl871x_mp: Remove unused function

Drop unused function that is defined but is not called anywhere.
Signed-off-by: NAmitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 b85f3d4e
...@@ -491,12 +491,6 @@ void r8712_SwitchAntenna(struct _adapter *pAdapter) ...@@ -491,12 +491,6 @@ void r8712_SwitchAntenna(struct _adapter *pAdapter)
set_bb_reg(pAdapter, rCCK0_AFESetting, bMaskByte3, cck_ant_sel_val); set_bb_reg(pAdapter, rCCK0_AFESetting, bMaskByte3, cck_ant_sel_val);
} }
void r8712_SetCrystalCap(struct _adapter *pAdapter)
{
set_bb_reg(pAdapter, rFPGA0_AnalogParameter1, bXtalCap,
pAdapter->mppriv.curr_crystalcap);
}
static void TriggerRFThermalMeter(struct _adapter *pAdapter) static void TriggerRFThermalMeter(struct _adapter *pAdapter)
{ {
/* 0x24: RF Reg[6:5] */ /* 0x24: RF Reg[6:5] */
......
...@@ -272,7 +272,6 @@ void r8712_SetTxAGCOffset(struct _adapter *pAdapter, u32 ulTxAGCOffset); ...@@ -272,7 +272,6 @@ void r8712_SetTxAGCOffset(struct _adapter *pAdapter, u32 ulTxAGCOffset);
void r8712_SetDataRate(struct _adapter *pAdapter); void r8712_SetDataRate(struct _adapter *pAdapter);
void r8712_SwitchBandwidth(struct _adapter *pAdapter); void r8712_SwitchBandwidth(struct _adapter *pAdapter);
void r8712_SwitchAntenna(struct _adapter *pAdapter); void r8712_SwitchAntenna(struct _adapter *pAdapter);
void r8712_SetCrystalCap(struct _adapter *pAdapter);
void r8712_GetThermalMeter(struct _adapter *pAdapter, u32 *value); void r8712_GetThermalMeter(struct _adapter *pAdapter, u32 *value);
void r8712_SetContinuousTx(struct _adapter *pAdapter, u8 bStart); void r8712_SetContinuousTx(struct _adapter *pAdapter, u8 bStart);
void r8712_SetSingleCarrierTx(struct _adapter *pAdapter, u8 bStart); void r8712_SetSingleCarrierTx(struct _adapter *pAdapter, u8 bStart);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册