staging: rtl8188eu: Remove unused function _ps_close_RF()
authornavin patidar <navin.patidar@gmail.com>
Sun, 18 May 2014 15:18:57 +0000 (20:48 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 May 2014 16:48:54 +0000 (01:48 +0900)
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/hal/usb_halinit.c

index 2fe1135..1a83d31 100644 (file)
@@ -942,12 +942,6 @@ HAL_INIT_PROFILE_TAG(HAL_INIT_STAGES_END);
        return status;
 }
 
-static void _ps_close_RF(struct adapter *adapt)
-{
-       /* here call with bRegSSPwrLvl 1, bRegSSPwrLvl 2 needs to be verified */
-       /* phy_SsPwrSwitch92CU(adapt, rf_off, 1); */
-}
-
 static void CardDisableRTL8188EU(struct adapter *Adapter)
 {
        u8 val8;
@@ -1025,7 +1019,6 @@ static u32 rtl8188eu_hal_deinit(struct adapter *Adapter)
 
        DBG_88E("bkeepfwalive(%x)\n", Adapter->pwrctrlpriv.bkeepfwalive);
        if (Adapter->pwrctrlpriv.bkeepfwalive) {
-               _ps_close_RF(Adapter);
                if ((Adapter->pwrctrlpriv.bHWPwrPindetect) && (Adapter->pwrctrlpriv.bHWPowerdown))
                        rtl8192cu_hw_power_down(Adapter);
        } else {