mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-06 05:23:06 +00:00
rtl8188eu: Remove MP_DRIVER conditionals - selected
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
caeea00c03
commit
1e96c9a1d4
8 changed files with 53 additions and 141 deletions
|
@ -1136,13 +1136,9 @@ EFUSE_ShadowWrite(
|
|||
u16 Offset,
|
||||
u32 Value)
|
||||
{
|
||||
#if (MP_DRIVER == 0)
|
||||
return;
|
||||
#endif
|
||||
if ( pAdapter->registrypriv.mp_mode == 0)
|
||||
return;
|
||||
|
||||
|
||||
if (Type == 1)
|
||||
efuse_ShadowWrite1Byte(pAdapter, Offset, (u8)Value);
|
||||
else if (Type == 2)
|
||||
|
@ -1152,14 +1148,7 @@ EFUSE_ShadowWrite(
|
|||
|
||||
} /* EFUSE_ShadowWrite */
|
||||
|
||||
void
|
||||
Efuse_InitSomeVar(
|
||||
struct adapter * pAdapter
|
||||
);
|
||||
void
|
||||
Efuse_InitSomeVar(
|
||||
struct adapter * pAdapter
|
||||
)
|
||||
void Efuse_InitSomeVar(struct adapter *pAdapter)
|
||||
{
|
||||
u8 i;
|
||||
|
||||
|
|
|
@ -34,10 +34,8 @@ void ips_enter(struct adapter * padapter)
|
|||
struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
|
||||
struct xmit_priv *pxmit_priv = &padapter->xmitpriv;
|
||||
|
||||
#if (MP_DRIVER == 1)
|
||||
if (padapter->registrypriv.mp_mode == 1)
|
||||
return;
|
||||
#endif
|
||||
|
||||
if (pxmit_priv->free_xmitbuf_cnt != NR_XMITBUFF ||
|
||||
pxmit_priv->free_xmit_extbuf_cnt != NR_XMIT_EXTBUFF) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue