]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: rtl8188eu: Remove unused function SetBcnCtrlReg()
authornavin patidar <navin.patidar@gmail.com>
Sun, 31 Aug 2014 08:38:29 +0000 (14:08 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 31 Aug 2014 19:58:41 +0000 (12:58 -0700)
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c
drivers/staging/rtl8188eu/include/rtl8188e_hal.h

index 7a8fe53d063c233c04b09a748c81ce046664c4a7..d6fe5e6aa4f462c6045b1eae679ab073351577a5 100644 (file)
@@ -704,21 +704,3 @@ void Hal_ReadThermalMeter_88E(struct adapter *Adapter, u8 *PROMContent, bool Aut
        }
        DBG_88E("ThermalMeter = 0x%x\n", pHalData->EEPROMThermalMeter);
 }
-
-/*  This function is used only for 92C to set REG_BCN_CTRL(0x550) register. */
-/*  We just reserve the value of the register in variable pHalData->RegBcnCtrlVal and then operate */
-/*  the value of the register via atomic operation. */
-/*  This prevents from race condition when setting this register. */
-/*  The value of pHalData->RegBcnCtrlVal is initialized in HwConfigureRTL8192CE() function. */
-
-void SetBcnCtrlReg(struct adapter *padapter, u8 SetBits, u8 ClearBits)
-{
-       struct hal_data_8188e *pHalData;
-
-       pHalData = GET_HAL_DATA(padapter);
-
-       pHalData->RegBcnCtrlVal |= SetBits;
-       pHalData->RegBcnCtrlVal &= ~ClearBits;
-
-       usb_write8(padapter, REG_BCN_CTRL, (u8)pHalData->RegBcnCtrlVal);
-}
index f5abe011d02ecdcca4cd6b6daf22c2525da800b9..2c517ce1bc1e5842385b520a8fb6489221ecf920 100644 (file)
@@ -417,7 +417,6 @@ void Hal_ReadPowerSavingMode88E(struct adapter *pAdapter, u8 *hwinfo,
 void rtl8188e_set_hal_ops(struct hal_ops *pHalFunc);
 
 /*  register */
-void SetBcnCtrlReg(struct adapter *padapter, u8 SetBits, u8 ClearBits);
 
 void rtl8188e_start_thread(struct adapter *padapter);
 void rtl8188e_stop_thread(struct adapter *padapter);