mirror of https://gitee.com/openkylin/linux.git
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:
parent
b091c6b6ff
commit
72e8072a1d
|
@ -58,7 +58,6 @@ int rtw_hal_init_recv_priv(struct adapter *padapter)
|
|||
precvbuf->adapter = padapter;
|
||||
precvbuf++;
|
||||
}
|
||||
precvpriv->free_recv_buf_queue_cnt = NR_RECVBUFF;
|
||||
skb_queue_head_init(&precvpriv->rx_skb_queue);
|
||||
{
|
||||
int i;
|
||||
|
|
|
@ -1006,7 +1006,6 @@ u32 rtw_hal_inirp_init(struct adapter *Adapter)
|
|||
}
|
||||
|
||||
precvbuf++;
|
||||
precvpriv->free_recv_buf_queue_cnt--;
|
||||
}
|
||||
|
||||
exit:
|
||||
|
|
|
@ -186,7 +186,6 @@ struct recv_priv {
|
|||
u8 *pallocated_recv_buf;
|
||||
u8 *precv_buf; /* 4 alignment */
|
||||
struct __queue free_recv_buf_queue;
|
||||
u32 free_recv_buf_queue_cnt;
|
||||
/* For display the phy informatiom */
|
||||
u8 is_signal_dbg; /* for debug */
|
||||
u8 signal_strength_dbg; /* for debug */
|
||||
|
|
Loading…
Reference in New Issue