staging: rtl8723au: Remove unnecessary wrapper _ResetDigitalProcedure1()
authorJes Sorensen <Jes.Sorensen@redhat.com>
Sun, 30 Nov 2014 21:05:17 +0000 (16:05 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Dec 2014 00:40:01 +0000 (16:40 -0800)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c

index 222dcd1..b2048b6 100644 (file)
@@ -1369,12 +1369,6 @@ static void _ResetDigitalProcedure1_92C(struct rtw_adapter *padapter,
        }
 }
 
-static void _ResetDigitalProcedure1(struct rtw_adapter *padapter,
-                                   bool bWithoutHWSM)
-{
-       _ResetDigitalProcedure1_92C(padapter, bWithoutHWSM);
-}
-
 static void _ResetDigitalProcedure2(struct rtw_adapter *padapter)
 {
 /*****************************
@@ -1448,7 +1442,7 @@ int CardDisableHWSM(struct rtw_adapter *padapter, u8 resetMCU)
        _DisableRFAFEAndResetBB8192C(padapter);
 
        /*   ==== Reset digital sequence   ====== */
-       _ResetDigitalProcedure1(padapter, false);
+       _ResetDigitalProcedure1_92C(padapter, false);
 
        /*   ==== Pull GPIO PIN to balance level and LED control ====== */
        _DisableGPIO(padapter);
@@ -1473,7 +1467,7 @@ int CardDisableWithoutHWSM(struct rtw_adapter *padapter)
        _DisableRFAFEAndResetBB8192C(padapter);
 
        /*   ==== Reset digital sequence   ====== */
-       _ResetDigitalProcedure1(padapter, true);
+       _ResetDigitalProcedure1_92C(padapter, true);
 
        /*   ==== Pull GPIO PIN to balance level and LED control ====== */
        _DisableGPIO(padapter);