staging: rtl8188eu: Remove 'semaphore allrxreturnevt' from struct recv_priv
authornavin patidar <navin.patidar@gmail.com>
Wed, 7 May 2014 03:57:24 +0000 (09:27 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 May 2014 16:41:40 +0000 (01:41 +0900)
Remove unused variable 'semaphore allrxreturnevt'.

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 723996eeb4ed61e1b0722b60cbed4f571ae2736a..3bdc3532bd8145c78548d9041d99422eda96090b 100644 (file)
@@ -101,8 +101,6 @@ int _rtw_init_recv_priv(struct recv_priv *precvpriv, struct adapter *padapter)
        }
        precvpriv->rx_pending_cnt = 1;
 
-       sema_init(&precvpriv->allrxreturnevt, 0);
-
        res = rtw_hal_init_recv_priv(padapter);
 
        _init_timer(&precvpriv->signal_stat_timer, padapter->pnetdev, RTW_TIMER_HDL_NAME(signal_stat), padapter);
index 971dd16d4a27923d113c47328cc991de420054d2..5b3bf29ab13f84202aea60c3ed0438f98940626e 100644 (file)
@@ -193,7 +193,6 @@ struct recv_priv {
        uint  rx_largepacket_crcerr;
        uint  rx_smallpacket_crcerr;
        uint  rx_middlepacket_crcerr;
-       struct semaphore allrxreturnevt;
        uint    ff_hwaddr;
        u8      rx_pending_cnt;