Commit d095789a authored by Jes Sorensen's avatar Jes Sorensen Committed by Greg Kroah-Hartman

staging: rtl8723au: Remove empty *_free_xmit_priv() and friends

Signed-off-by: default avatarJes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 099a8452
...@@ -210,8 +210,6 @@ void _rtw_free_xmit_priv23a (struct xmit_priv *pxmitpriv) ...@@ -210,8 +210,6 @@ void _rtw_free_xmit_priv23a (struct xmit_priv *pxmitpriv)
struct xmit_buf *pxmitbuf; struct xmit_buf *pxmitbuf;
struct list_head *plist, *ptmp; struct list_head *plist, *ptmp;
rtw_hal_free_xmit_priv23a(padapter);
list_for_each_safe(plist, ptmp, &pxmitpriv->free_xmit_queue.queue) { list_for_each_safe(plist, ptmp, &pxmitpriv->free_xmit_queue.queue) {
pxframe = container_of(plist, struct xmit_frame, list); pxframe = container_of(plist, struct xmit_frame, list);
list_del_init(&pxframe->list); list_del_init(&pxframe->list);
......
...@@ -208,11 +208,6 @@ s32 rtw_hal_init23a_xmit_priv(struct rtw_adapter *padapter) ...@@ -208,11 +208,6 @@ s32 rtw_hal_init23a_xmit_priv(struct rtw_adapter *padapter)
return padapter->HalFunc.init_xmit_priv(padapter); return padapter->HalFunc.init_xmit_priv(padapter);
return _FAIL; return _FAIL;
} }
void rtw_hal_free_xmit_priv23a(struct rtw_adapter *padapter)
{
if (padapter->HalFunc.free_xmit_priv != NULL)
padapter->HalFunc.free_xmit_priv(padapter);
}
s32 rtw_hal_init23a_recv_priv(struct rtw_adapter *padapter) s32 rtw_hal_init23a_recv_priv(struct rtw_adapter *padapter)
{ {
......
...@@ -31,10 +31,6 @@ s32 rtl8723au_init_xmit_priv(struct rtw_adapter *padapter) ...@@ -31,10 +31,6 @@ s32 rtl8723au_init_xmit_priv(struct rtw_adapter *padapter)
return _SUCCESS; return _SUCCESS;
} }
void rtl8723au_free_xmit_priv(struct rtw_adapter *padapter)
{
}
static void do_queue_select(struct rtw_adapter *padapter, struct pkt_attrib *pattrib) static void do_queue_select(struct rtw_adapter *padapter, struct pkt_attrib *pattrib)
{ {
u8 qsel; u8 qsel;
......
...@@ -1756,7 +1756,6 @@ int rtl8723au_set_hal_ops(struct rtw_adapter *padapter) ...@@ -1756,7 +1756,6 @@ int rtl8723au_set_hal_ops(struct rtw_adapter *padapter)
pHalFunc->inirp_deinit = &rtl8723au_inirp_deinit; pHalFunc->inirp_deinit = &rtl8723au_inirp_deinit;
pHalFunc->init_xmit_priv = &rtl8723au_init_xmit_priv; pHalFunc->init_xmit_priv = &rtl8723au_init_xmit_priv;
pHalFunc->free_xmit_priv = &rtl8723au_free_xmit_priv;
pHalFunc->init_recv_priv = &rtl8723au_init_recv_priv; pHalFunc->init_recv_priv = &rtl8723au_init_recv_priv;
pHalFunc->free_recv_priv = &rtl8723au_free_recv_priv; pHalFunc->free_recv_priv = &rtl8723au_free_recv_priv;
......
...@@ -71,7 +71,6 @@ struct hal_ops { ...@@ -71,7 +71,6 @@ struct hal_ops {
u32 (*inirp_deinit)(struct rtw_adapter *padapter); u32 (*inirp_deinit)(struct rtw_adapter *padapter);
s32 (*init_xmit_priv)(struct rtw_adapter *padapter); s32 (*init_xmit_priv)(struct rtw_adapter *padapter);
void (*free_xmit_priv)(struct rtw_adapter *padapter);
s32 (*init_recv_priv)(struct rtw_adapter *padapter); s32 (*init_recv_priv)(struct rtw_adapter *padapter);
void (*free_recv_priv)(struct rtw_adapter *padapter); void (*free_recv_priv)(struct rtw_adapter *padapter);
...@@ -247,7 +246,6 @@ s32 rtw_hal_mgnt_xmit23a(struct rtw_adapter *padapter, ...@@ -247,7 +246,6 @@ s32 rtw_hal_mgnt_xmit23a(struct rtw_adapter *padapter,
struct xmit_frame *pmgntframe); struct xmit_frame *pmgntframe);
s32 rtw_hal_init23a_xmit_priv(struct rtw_adapter *padapter); s32 rtw_hal_init23a_xmit_priv(struct rtw_adapter *padapter);
void rtw_hal_free_xmit_priv23a(struct rtw_adapter *padapter);
s32 rtw_hal_init23a_recv_priv(struct rtw_adapter *padapter); s32 rtw_hal_init23a_recv_priv(struct rtw_adapter *padapter);
void rtw_hal_free_recv_priv23a(struct rtw_adapter *padapter); void rtw_hal_free_recv_priv23a(struct rtw_adapter *padapter);
......
...@@ -220,7 +220,6 @@ s32 rtl8723au_hal_xmitframe_enqueue(struct rtw_adapter *padapter, struct xmit_fr ...@@ -220,7 +220,6 @@ s32 rtl8723au_hal_xmitframe_enqueue(struct rtw_adapter *padapter, struct xmit_fr
s32 rtl8723au_xmit_buf_handler(struct rtw_adapter *padapter); s32 rtl8723au_xmit_buf_handler(struct rtw_adapter *padapter);
#define hal_xmit_handler rtl8723au_xmit_buf_handler #define hal_xmit_handler rtl8723au_xmit_buf_handler
s32 rtl8723au_init_xmit_priv(struct rtw_adapter * padapter); s32 rtl8723au_init_xmit_priv(struct rtw_adapter * padapter);
void rtl8723au_free_xmit_priv(struct rtw_adapter * padapter);
s32 rtl8723au_hal_xmit(struct rtw_adapter *padapter, struct xmit_frame *pxmitframe); s32 rtl8723au_hal_xmit(struct rtw_adapter *padapter, struct xmit_frame *pxmitframe);
s32 rtl8723au_mgnt_xmit(struct rtw_adapter *padapter, struct xmit_frame *pmgntframe); s32 rtl8723au_mgnt_xmit(struct rtw_adapter *padapter, struct xmit_frame *pmgntframe);
s32 rtl8723au_xmitframe_complete(struct rtw_adapter *padapter, struct xmit_priv *pxmitpriv, struct xmit_buf *pxmitbuf); s32 rtl8723au_xmitframe_complete(struct rtw_adapter *padapter, struct xmit_priv *pxmitpriv, struct xmit_buf *pxmitbuf);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment