]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
staging: rtl8188eu: Remove unused function HalDetectPwrDownMode88E()
authornavin patidar <navin.patidar@gmail.com>
Thu, 10 Jul 2014 03:42:22 +0000 (09:12 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Jul 2014 04:15:21 +0000 (21:15 -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 1abf97461d0fbd2d9e3ebf05439c77267e1c7ad8..161138f7aeb981b09328fa8c0c1d28438e24d709 100644 (file)
@@ -1079,25 +1079,6 @@ void Hal_ReadThermalMeter_88E(struct adapter *Adapter, u8 *PROMContent, bool Aut
        DBG_88E("ThermalMeter = 0x%x\n", pHalData->EEPROMThermalMeter);
 }
 
-bool HalDetectPwrDownMode88E(struct adapter *Adapter)
-{
-       u8 tmpvalue = 0;
-       struct hal_data_8188e *pHalData = GET_HAL_DATA(Adapter);
-       struct pwrctrl_priv *pwrctrlpriv = &Adapter->pwrctrlpriv;
-
-       EFUSE_ShadowRead(Adapter, 1, EEPROM_RF_FEATURE_OPTION_88E, (u32 *)&tmpvalue);
-
-       /*  2010/08/25 MH INF priority > PDN Efuse value. */
-       if (tmpvalue & BIT(4) && pwrctrlpriv->reg_pdnmode)
-               pHalData->pwrdown = true;
-       else
-               pHalData->pwrdown = false;
-
-       DBG_88E("HalDetectPwrDownMode(): PDN =%d\n", pHalData->pwrdown);
-
-       return pHalData->pwrdown;
-}      /*  HalDetectPwrDownMode */
-
 /*  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. */
index a0a3ca792881bb743d73c6e10483f39203872101..4b7b06933ff704afb545792cefa3ac42693ce3fd 100644 (file)
@@ -451,8 +451,6 @@ void Hal_EfuseParseBoardType88E(struct adapter *pAdapter, u8 *hwinfo,
 void Hal_ReadPowerSavingMode88E(struct adapter *pAdapter, u8 *hwinfo,
                                bool AutoLoadFail);
 
-bool HalDetectPwrDownMode88E(struct adapter *Adapter);
-
 void rtl8188e_set_hal_ops(struct hal_ops *pHalFunc);
 
 /*  register */