From: Jes Sorensen Date: Fri, 9 May 2014 13:03:57 +0000 (+0200) Subject: staging: rtl8723au: Remove unused semaphore 'allrxreturnevt' X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a954a18f46d445c63ecb45dd369b4edb8aba3aed;p=linux-beck.git staging: rtl8723au: Remove unused semaphore 'allrxreturnevt' Signed-off-by: Jes Sorensen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723au/core/rtw_recv.c b/drivers/staging/rtl8723au/core/rtw_recv.c index 3f134320cc23..756ad3f0ebd5 100644 --- a/drivers/staging/rtl8723au/core/rtw_recv.c +++ b/drivers/staging/rtl8723au/core/rtw_recv.c @@ -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, diff --git a/drivers/staging/rtl8723au/include/rtw_recv.h b/drivers/staging/rtl8723au/include/rtw_recv.h index f47d159bfede..35e47dac8615 100644 --- a/drivers/staging/rtl8723au/include/rtw_recv.h +++ b/drivers/staging/rtl8723au/include/rtw_recv.h @@ -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;