2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-16 17:43:56 +08:00

staging: r8188eu: rename rtl8188eu_free_recv_priv to rtw_hal_free_recv_priv

And remove two one-line wrappers.

Signed-off-by: Ivan Safonov <insafonov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Ivan Safonov 2016-09-03 22:32:23 +07:00 committed by Greg Kroah-Hartman
parent 02d0de1f8c
commit 67f7ada8dc
5 changed files with 1 additions and 10 deletions

View File

@ -127,12 +127,6 @@ s32 rtw_hal_init_recv_priv(struct adapter *adapt)
return _FAIL;
}
void rtw_hal_free_recv_priv(struct adapter *adapt)
{
if (adapt->HalFunc.free_recv_priv)
adapt->HalFunc.free_recv_priv(adapt);
}
void rtw_hal_update_ra_mask(struct adapter *adapt, u32 mac_id, u8 rssi_level)
{
struct mlme_priv *pmlmepriv = &(adapt->mlmepriv);

View File

@ -89,7 +89,7 @@ exit:
return res;
}
void rtl8188eu_free_recv_priv(struct adapter *padapter)
void rtw_hal_free_recv_priv(struct adapter *padapter)
{
int i;
struct recv_buf *precvbuf;

View File

@ -2071,7 +2071,6 @@ void rtl8188eu_set_hal_ops(struct adapter *adapt)
halfunc->init_xmit_priv = &rtl8188eu_init_xmit_priv;
halfunc->init_recv_priv = &rtl8188eu_init_recv_priv;
halfunc->free_recv_priv = &rtl8188eu_free_recv_priv;
rtl8188e_set_hal_ops(halfunc);
}

View File

@ -152,7 +152,6 @@ struct hal_ops {
s32 (*init_xmit_priv)(struct adapter *padapter);
s32 (*init_recv_priv)(struct adapter *padapter);
void (*free_recv_priv)(struct adapter *padapter);
void (*dm_init)(struct adapter *padapter);
void (*read_chip_version)(struct adapter *padapter);

View File

@ -52,7 +52,6 @@ enum rx_packet_type {
#define INTERRUPT_MSG_FORMAT_LEN 60
s32 rtl8188eu_init_recv_priv(struct adapter *padapter);
void rtl8188eu_free_recv_priv(struct adapter *padapter);
void rtl8188eu_recv_hdl(struct adapter *padapter, struct recv_buf *precvbuf);
void rtl8188eu_recv_tasklet(void *priv);
void rtl8188e_query_rx_phy_status(struct recv_frame *fr, struct phy_stat *phy);