From 9fdbb461747550c933b8596c71ce1d9090feb1a5 Mon Sep 17 00:00:00 2001 From: navin patidar Date: Wed, 7 May 2014 09:27:26 +0530 Subject: [PATCH] staging: rtl8188eu: Remove 'spinlock_t lock' from struct recv_priv Remove unused variable 'spinlock_t lock'. Signed-off-by: navin patidar Signed-off-by: Greg Kroah-Hartman --- drivers/staging/rtl8188eu/core/rtw_recv.c | 2 -- drivers/staging/rtl8188eu/include/rtw_recv.h | 1 - 2 files changed, 3 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_recv.c b/drivers/staging/rtl8188eu/core/rtw_recv.c index 3bdc3532bd81..5c3d416adb67 100644 --- a/drivers/staging/rtl8188eu/core/rtw_recv.c +++ b/drivers/staging/rtl8188eu/core/rtw_recv.c @@ -63,8 +63,6 @@ int _rtw_init_recv_priv(struct recv_priv *precvpriv, struct adapter *padapter) int res = _SUCCESS; - spin_lock_init(&precvpriv->lock); - _rtw_init_queue(&precvpriv->free_recv_queue); _rtw_init_queue(&precvpriv->recv_pending_queue); _rtw_init_queue(&precvpriv->uc_swdec_pending_queue); diff --git a/drivers/staging/rtl8188eu/include/rtw_recv.h b/drivers/staging/rtl8188eu/include/rtw_recv.h index d52cfe8a9510..68c2ad5f2e7c 100644 --- a/drivers/staging/rtl8188eu/include/rtw_recv.h +++ b/drivers/staging/rtl8188eu/include/rtw_recv.h @@ -175,7 +175,6 @@ recv_thread(passive) ; returnpkt(dispatch) using enter_critical section to protect */ struct recv_priv { - spinlock_t lock; struct __queue free_recv_queue; struct __queue recv_pending_queue; struct __queue uc_swdec_pending_queue; -- 2.30.2