]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: rtl8188eu: Remove 'spinlock_t lock' from struct recv_priv
authornavin patidar <navin.patidar@gmail.com>
Wed, 7 May 2014 03:57:26 +0000 (09:27 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 May 2014 16:41:50 +0000 (01:41 +0900)
Remove unused variable 'spinlock_t lock'.

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_recv.c
drivers/staging/rtl8188eu/include/rtw_recv.h

index 3bdc3532bd8145c78548d9041d99422eda96090b..5c3d416adb67863cc67d639ab1827790df43e3fa 100644 (file)
@@ -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);
index d52cfe8a9510c4f09344736bc9ca42c7d9b8edd9..68c2ad5f2e7c4755521cd05886072f706bd78bc8 100644 (file)
@@ -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;