stating: rtl8723au: Eliminate write-only struct xmit_priv->txirp_cnt
authorJes Sorensen <Jes.Sorensen@redhat.com>
Fri, 10 Oct 2014 19:41:30 +0000 (21:41 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Nov 2014 00:24:11 +0000 (16:24 -0800)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_xmit.c
drivers/staging/rtl8723au/include/rtw_xmit.h

index 4c2f0a1201bf5ce112e07888292fc8f574425804..a0f7e2787afe041653cc9cef6994e6ce6e5dcd47 100644 (file)
@@ -180,8 +180,6 @@ int _rtw_init_xmit_priv23a(struct xmit_priv *pxmitpriv,
        for (i = 0; i < 4; i ++)
                pxmitpriv->wmm_para_seq[i] = i;
 
-       pxmitpriv->txirp_cnt = 1;
-
        sema_init(&pxmitpriv->tx_retevt, 0);
 
        pxmitpriv->ack_tx = false;
index abe4316b9124693a6642a6bba98cbf9d5d98eebb..73e5f9cbfac0874f21f77c354602311fe54d50cc 100644 (file)
@@ -312,7 +312,6 @@ struct      xmit_priv {
                                 */
 
        struct semaphore        tx_retevt;/* all tx return event; */
-       u8              txirp_cnt;/*  */
 
        struct tasklet_struct xmit_tasklet;