staging: rtl8723au: Remove unused function rtw_os_read_port23a()

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-04-15 19:44:40 +02:00 committed by Greg Kroah-Hartman
parent 76dc444185
commit 35a5c6f3a3
2 changed files with 0 additions and 14 deletions

View file

@ -38,8 +38,6 @@ void rtw_os_recv_resource_free(struct recv_priv *precvpriv);
int rtw_os_recvbuf_resource_alloc23a(struct rtw_adapter *padapter, struct recv_buf *precvbuf); int rtw_os_recvbuf_resource_alloc23a(struct rtw_adapter *padapter, struct recv_buf *precvbuf);
int rtw_os_recvbuf_resource_free23a(struct rtw_adapter *padapter, struct recv_buf *precvbuf); int rtw_os_recvbuf_resource_free23a(struct rtw_adapter *padapter, struct recv_buf *precvbuf);
void rtw_os_read_port23a(struct rtw_adapter *padapter, struct recv_buf *precvbuf);
void rtw_init_recv_timer23a(struct recv_reorder_ctrl *preorder_ctrl); void rtw_init_recv_timer23a(struct recv_reorder_ctrl *preorder_ctrl);
#endif #endif

View file

@ -204,18 +204,6 @@ int rtw_recv_indicatepkt23a(struct rtw_adapter *padapter,
return _FAIL; return _FAIL;
} }
void rtw_os_read_port23a(struct rtw_adapter *padapter, struct recv_buf *precvbuf)
{
struct recv_priv *precvpriv = &padapter->recvpriv;
/* free skb in recv_buf */
dev_kfree_skb_any(precvbuf->pskb);
precvbuf->pskb = NULL;
rtw_read_port(padapter, precvpriv->ff_hwaddr, 0, precvbuf);
}
void rtw_init_recv_timer23a(struct recv_reorder_ctrl *preorder_ctrl) void rtw_init_recv_timer23a(struct recv_reorder_ctrl *preorder_ctrl)
{ {
setup_timer(&preorder_ctrl->reordering_ctrl_timer, setup_timer(&preorder_ctrl->reordering_ctrl_timer,