mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 02:50:49 +09:00
staging: r8188eu: remove rtw_os_read_port()
Function rtw_os_read_port() is not used, remove it. Signed-off-by: Michael Straube <straube.linux@gmail.com> Link: https://lore.kernel.org/r/20210922200420.9693-29-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
09a83935c1
commit
58747a854a
@@ -27,8 +27,6 @@ void rtw_os_recv_resource_free(struct recv_priv *precvpriv);
|
||||
int rtw_os_recvbuf_resource_alloc(struct adapter *adapt, struct recv_buf *buf);
|
||||
int rtw_os_recvbuf_resource_free(struct adapter *adapt, struct recv_buf *buf);
|
||||
|
||||
void rtw_os_read_port(struct adapter *padapter, struct recv_buf *precvbuf);
|
||||
|
||||
void rtw_init_recv_timer(struct recv_reorder_ctrl *preorder_ctrl);
|
||||
int _netdev_open(struct net_device *pnetdev);
|
||||
int netdev_open(struct net_device *pnetdev);
|
||||
|
||||
@@ -186,20 +186,6 @@ _recv_indicatepkt_drop:
|
||||
return _FAIL;
|
||||
}
|
||||
|
||||
void rtw_os_read_port(struct adapter *padapter, struct recv_buf *precvbuf)
|
||||
{
|
||||
struct recv_priv *precvpriv = &padapter->recvpriv;
|
||||
|
||||
precvbuf->ref_cnt--;
|
||||
/* free skb in recv_buf */
|
||||
dev_kfree_skb_any(precvbuf->pskb);
|
||||
precvbuf->pskb = NULL;
|
||||
precvbuf->reuse = false;
|
||||
if (!precvbuf->irp_pending)
|
||||
rtw_read_port(padapter, precvpriv->ff_hwaddr, 0,
|
||||
(unsigned char *)precvbuf);
|
||||
}
|
||||
|
||||
static void _rtw_reordering_ctrl_timeout_handler(struct timer_list *t)
|
||||
{
|
||||
struct recv_reorder_ctrl *preorder_ctrl;
|
||||
|
||||
Reference in New Issue
Block a user