staging:r8188eu: remove free_recv_buf_queue_cnt member of recv_priv structure

This variable does not used.

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-10-08 01:01:03 +07:00 committed by Greg Kroah-Hartman
parent b091c6b6ff
commit 72e8072a1d
3 changed files with 0 additions and 3 deletions

View File

@ -58,7 +58,6 @@ int rtw_hal_init_recv_priv(struct adapter *padapter)
precvbuf->adapter = padapter; precvbuf->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);
{ {
int i; int i;

View File

@ -1006,7 +1006,6 @@ u32 rtw_hal_inirp_init(struct adapter *Adapter)
} }
precvbuf++; precvbuf++;
precvpriv->free_recv_buf_queue_cnt--;
} }
exit: exit:

View File

@ -186,7 +186,6 @@ struct recv_priv {
u8 *pallocated_recv_buf; u8 *pallocated_recv_buf;
u8 *precv_buf; /* 4 alignment */ u8 *precv_buf; /* 4 alignment */
struct __queue free_recv_buf_queue; struct __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 */
u8 signal_strength_dbg; /* for debug */ u8 signal_strength_dbg; /* for debug */