diff options
author | Amitoj Kaur Chawla <amitoj1606@gmail.com> | 2015-10-27 07:03:25 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-27 07:58:00 (GMT) |
commit | d743db9f053f8d95f0cbd2470aea39d225ac4f9e (patch) | |
tree | e0eabb8dd19ad8ca51684bd4455867604efb42dd /drivers/staging/rtl8712 | |
parent | b85f3d4e58379e523b06d9725f26f0a0566a1727 (diff) | |
download | linux-d743db9f053f8d95f0cbd2470aea39d225ac4f9e.tar.xz |
staging: rtl8712: rtl871x_mp: Remove unused function
Drop unused function that is defined but is not called anywhere.
Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8712')
-rw-r--r-- | drivers/staging/rtl8712/rtl871x_mp.c | 6 | ||||
-rw-r--r-- | drivers/staging/rtl8712/rtl871x_mp.h | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/drivers/staging/rtl8712/rtl871x_mp.c b/drivers/staging/rtl8712/rtl871x_mp.c index 231cdc2..44da4fe 100644 --- a/drivers/staging/rtl8712/rtl871x_mp.c +++ b/drivers/staging/rtl8712/rtl871x_mp.c @@ -491,12 +491,6 @@ void r8712_SwitchAntenna(struct _adapter *pAdapter) 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) { /* 0x24: RF Reg[6:5] */ diff --git a/drivers/staging/rtl8712/rtl871x_mp.h b/drivers/staging/rtl8712/rtl871x_mp.h index 75893f2..3f3b2e7 100644 --- a/drivers/staging/rtl8712/rtl871x_mp.h +++ b/drivers/staging/rtl8712/rtl871x_mp.h @@ -272,7 +272,6 @@ void r8712_SetTxAGCOffset(struct _adapter *pAdapter, u32 ulTxAGCOffset); void r8712_SetDataRate(struct _adapter *pAdapter); void r8712_SwitchBandwidth(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_SetContinuousTx(struct _adapter *pAdapter, u8 bStart); void r8712_SetSingleCarrierTx(struct _adapter *pAdapter, u8 bStart); |