]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: rtl8723au: Remove unused semaphore 'allrxreturnevt'
authorJes Sorensen <Jes.Sorensen@redhat.com>
Fri, 9 May 2014 13:03:57 +0000 (15:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 May 2014 20:12:00 +0000 (13:12 -0700)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_recv.c
drivers/staging/rtl8723au/include/rtw_recv.h

index 3f134320cc23ec450bd0bf5922332deaffdff499..756ad3f0ebd51f36dadca1204be2e21120e300f4 100644 (file)
@@ -72,8 +72,6 @@ int _rtw_init_recv_priv23a(struct recv_priv *precvpriv,
        precvpriv->free_recvframe_cnt = i;
        precvpriv->rx_pending_cnt = 1;
 
-       sema_init(&precvpriv->allrxreturnevt, 0);
-
        res = rtw_hal_init23a_recv_priv(padapter);
 
        setup_timer(&precvpriv->signal_stat_timer, rtw_signal_stat_timer_hdl23a,
index f47d159bfedea18d8e1ae6531f2e0177b2d0c1a1..35e47dac861599b94a3522c9929c1763125638cd 100644 (file)
@@ -187,7 +187,6 @@ struct recv_priv {
        uint  rx_middlepacket_crcerr;
 
        /* u8 *pallocated_urb_buf; */
-       struct semaphore allrxreturnevt;
        uint    ff_hwaddr;
        u8      rx_pending_cnt;