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

staging: rtl8723au: Remove another unused queue from struct recv_priv

Signed-off-by: default avatarJes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 208ceb83
...@@ -48,9 +48,6 @@ int rtl8723au_init_recv_priv(struct rtw_adapter *padapter) ...@@ -48,9 +48,6 @@ int rtl8723au_init_recv_priv(struct rtw_adapter *padapter)
if (!precvpriv->int_in_buf) if (!precvpriv->int_in_buf)
DBG_8723A("alloc_mem for interrupt in endpoint fail !!!!\n"); DBG_8723A("alloc_mem for interrupt in endpoint fail !!!!\n");
/* init recv_buf */
_rtw_init_queue23a(&precvpriv->free_recv_buf_queue);
size = NR_RECVBUFF * sizeof(struct recv_buf); size = NR_RECVBUFF * sizeof(struct recv_buf);
precvpriv->precv_buf = kzalloc(size, GFP_KERNEL); precvpriv->precv_buf = kzalloc(size, GFP_KERNEL);
if (!precvpriv->precv_buf) { if (!precvpriv->precv_buf) {
...@@ -74,8 +71,6 @@ int rtl8723au_init_recv_priv(struct rtw_adapter *padapter) ...@@ -74,8 +71,6 @@ int rtl8723au_init_recv_priv(struct rtw_adapter *padapter)
precvbuf++; precvbuf++;
} }
precvpriv->free_recv_buf_queue_cnt = NR_RECVBUFF;
skb_queue_head_init(&precvpriv->rx_skb_queue); skb_queue_head_init(&precvpriv->rx_skb_queue);
skb_queue_head_init(&precvpriv->free_recv_skb_queue); skb_queue_head_init(&precvpriv->free_recv_skb_queue);
......
...@@ -1253,7 +1253,6 @@ static unsigned int rtl8723au_inirp_init(struct rtw_adapter *Adapter) ...@@ -1253,7 +1253,6 @@ static unsigned int rtl8723au_inirp_init(struct rtw_adapter *Adapter)
goto exit; goto exit;
} }
precvbuf++; precvbuf++;
precvpriv->free_recv_buf_queue_cnt--;
} }
_read_interrupt = io_ops->_read_interrupt; _read_interrupt = io_ops->_read_interrupt;
if (_read_interrupt(Adapter, RECV_INT_IN_ADDR) == false) { if (_read_interrupt(Adapter, RECV_INT_IN_ADDR) == false) {
......
...@@ -199,8 +199,6 @@ struct recv_priv { ...@@ -199,8 +199,6 @@ struct recv_priv {
struct sk_buff_head free_recv_skb_queue; struct sk_buff_head free_recv_skb_queue;
struct sk_buff_head rx_skb_queue; struct sk_buff_head rx_skb_queue;
u8 *precv_buf; u8 *precv_buf;
struct rtw_queue free_recv_buf_queue;
u32 free_recv_buf_queue_cnt;
/* For display the phy informatiom */ /* For display the phy informatiom */
u8 is_signal_dbg; /* for debug */ u8 is_signal_dbg; /* for debug */
......
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