diff options
author | Jes Sorensen <Jes.Sorensen@redhat.com> | 2014-10-10 21:41:30 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-11-03 16:24:11 -0800 |
commit | 769971b2a45400a3c18632979dce30c6f9d3892a (patch) | |
tree | 3c730c088dbfa711f7244680eb24149e098a715e /drivers/staging/rtl8723au | |
parent | bc47e7d97666ad32993abe0ea924ffa81a8356e7 (diff) | |
download | linux-stable-769971b2a45400a3c18632979dce30c6f9d3892a.tar.gz linux-stable-769971b2a45400a3c18632979dce30c6f9d3892a.tar.bz2 linux-stable-769971b2a45400a3c18632979dce30c6f9d3892a.zip |
stating: rtl8723au: Eliminate write-only struct xmit_priv->txirp_cnt
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8723au')
-rw-r--r-- | drivers/staging/rtl8723au/core/rtw_xmit.c | 2 | ||||
-rw-r--r-- | drivers/staging/rtl8723au/include/rtw_xmit.h | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/rtl8723au/core/rtw_xmit.c b/drivers/staging/rtl8723au/core/rtw_xmit.c index 4c2f0a1201bf..a0f7e2787afe 100644 --- a/drivers/staging/rtl8723au/core/rtw_xmit.c +++ b/drivers/staging/rtl8723au/core/rtw_xmit.c @@ -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; diff --git a/drivers/staging/rtl8723au/include/rtw_xmit.h b/drivers/staging/rtl8723au/include/rtw_xmit.h index abe4316b9124..73e5f9cbfac0 100644 --- a/drivers/staging/rtl8723au/include/rtw_xmit.h +++ b/drivers/staging/rtl8723au/include/rtw_xmit.h @@ -312,7 +312,6 @@ struct xmit_priv { */ struct semaphore tx_retevt;/* all tx return event; */ - u8 txirp_cnt;/* */ struct tasklet_struct xmit_tasklet; |