Commit 27903f9f authored by Branden Bonaby's avatar Branden Bonaby Committed by Greg Kroah-Hartman

staging: rtl8712: remove unnecessary parentheses

Remove unnecessary parentheses in rtl8712_xmit.c.
Reported by checkpatch.
Signed-off-by: default avatarBranden Bonaby <brandonbonaby94@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 49103a81
...@@ -60,20 +60,20 @@ int r8712_txframes_sta_ac_pending(struct _adapter *padapter, ...@@ -60,20 +60,20 @@ int r8712_txframes_sta_ac_pending(struct _adapter *padapter,
switch (priority) { switch (priority) {
case 1: case 1:
case 2: case 2:
ptxservq = &(psta->sta_xmitpriv.bk_q); ptxservq = &psta->sta_xmitpriv.bk_q;
break; break;
case 4: case 4:
case 5: case 5:
ptxservq = &(psta->sta_xmitpriv.vi_q); ptxservq = &psta->sta_xmitpriv.vi_q;
break; break;
case 6: case 6:
case 7: case 7:
ptxservq = &(psta->sta_xmitpriv.vo_q); ptxservq = &psta->sta_xmitpriv.vo_q;
break; break;
case 0: case 0:
case 3: case 3:
default: default:
ptxservq = &(psta->sta_xmitpriv.be_q); ptxservq = &psta->sta_xmitpriv.be_q;
break; break;
} }
return ptxservq->qcnt; return ptxservq->qcnt;
...@@ -269,7 +269,7 @@ u8 r8712_construct_txaggr_cmd_hdr(struct xmit_buf *pxmitbuf) ...@@ -269,7 +269,7 @@ u8 r8712_construct_txaggr_cmd_hdr(struct xmit_buf *pxmitbuf)
struct xmit_frame *pxmitframe = (struct xmit_frame *) struct xmit_frame *pxmitframe = (struct xmit_frame *)
pxmitbuf->priv_data; pxmitbuf->priv_data;
struct _adapter *padapter = pxmitframe->padapter; struct _adapter *padapter = pxmitframe->padapter;
struct cmd_priv *pcmdpriv = &(padapter->cmdpriv); struct cmd_priv *pcmdpriv = &padapter->cmdpriv;
struct cmd_hdr *pcmd_hdr = (struct cmd_hdr *) struct cmd_hdr *pcmd_hdr = (struct cmd_hdr *)
(pxmitbuf->pbuf + TXDESC_SIZE); (pxmitbuf->pbuf + TXDESC_SIZE);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment