mirror of https://gitee.com/openkylin/linux.git
staging: rtl8188eu: Remove 'spinlock_t recvbuf_lock' from struct recv_buf
recvbuf_lock is initialized inside rtl8188eu_init_recv_priv() but never used. Signed-off-by: navin patidar <navin.patidar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
9a4429ea62
commit
4337ff2f8f
|
@ -71,7 +71,6 @@ int rtl8188eu_init_recv_priv(struct adapter *padapter)
|
|||
precvbuf = (struct recv_buf *)precvpriv->precv_buf;
|
||||
|
||||
for (i = 0; i < NR_RECVBUFF; i++) {
|
||||
spin_lock_init(&precvbuf->recvbuf_lock);
|
||||
precvbuf->alloc_sz = MAX_RECVBUF_SZ;
|
||||
res = rtw_os_recvbuf_resource_alloc(padapter, precvbuf);
|
||||
if (res == _FAIL)
|
||||
|
|
|
@ -235,7 +235,6 @@ struct sta_recv_priv {
|
|||
};
|
||||
|
||||
struct recv_buf {
|
||||
spinlock_t recvbuf_lock;
|
||||
u32 ref_cnt;
|
||||
struct adapter *adapter;
|
||||
u8 *pbuf;
|
||||
|
|
Loading…
Reference in New Issue