staging: rtl8723au: Remove unnecessary wrapper _ResetDigitalProcedure1()

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Jes Sorensen 2014-11-30 16:05:17 -05:00 committed by Greg Kroah-Hartman
parent 31b7e846bd
commit 441272e71d
1 changed files with 2 additions and 8 deletions

View 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) static void _ResetDigitalProcedure2(struct rtw_adapter *padapter)
{ {
/***************************** /*****************************
@ -1448,7 +1442,7 @@ int CardDisableHWSM(struct rtw_adapter *padapter, u8 resetMCU)
_DisableRFAFEAndResetBB8192C(padapter); _DisableRFAFEAndResetBB8192C(padapter);
/* ==== Reset digital sequence ====== */ /* ==== Reset digital sequence ====== */
_ResetDigitalProcedure1(padapter, false); _ResetDigitalProcedure1_92C(padapter, false);
/* ==== Pull GPIO PIN to balance level and LED control ====== */ /* ==== Pull GPIO PIN to balance level and LED control ====== */
_DisableGPIO(padapter); _DisableGPIO(padapter);
@ -1473,7 +1467,7 @@ int CardDisableWithoutHWSM(struct rtw_adapter *padapter)
_DisableRFAFEAndResetBB8192C(padapter); _DisableRFAFEAndResetBB8192C(padapter);
/* ==== Reset digital sequence ====== */ /* ==== Reset digital sequence ====== */
_ResetDigitalProcedure1(padapter, true); _ResetDigitalProcedure1_92C(padapter, true);
/* ==== Pull GPIO PIN to balance level and LED control ====== */ /* ==== Pull GPIO PIN to balance level and LED control ====== */
_DisableGPIO(padapter); _DisableGPIO(padapter);