staging: rtl8712: rtl871x_mp: Remove unused function
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>
Tue, 27 Oct 2015 07:03:25 +0000 (12:33 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Oct 2015 07:58:00 +0000 (16:58 +0900)
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>
drivers/staging/rtl8712/rtl871x_mp.c
drivers/staging/rtl8712/rtl871x_mp.h

index 231cdc2ceea8d3870a8997a1c42324dd552010c8..44da4fe893810532a40852f5a5c32da6cb03cb18 100644 (file)
@@ -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] */
index 75893f225dc0af63d1cf221020a7625b918b50e4..3f3b2e73b7d266dc48f548a907fcc2515813e16f 100644 (file)
@@ -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);