staging: rtl8188eu: remove unnecessary parentheses
authorMichael Straube <straube.linux@gmail.com>
Fri, 22 Mar 2019 13:17:06 +0000 (14:17 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 22 Mar 2019 14:20:25 +0000 (15:20 +0100)
Remove unnecessary parentheses in rtl8188eu_xmit.c.
Reported by checkpatch.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c

index 9e5f23392d586e438358c508158a2d8becb5dab7..ab94ad9d608ae011205483eb978616c723e15b83 100644 (file)
@@ -168,7 +168,7 @@ static s32 update_txdesc(struct xmit_frame *pxmitframe, u8 *pmem, s32 sz, u8 bag
        struct odm_dm_struct *odmpriv = &adapt->HalData->odmpriv;
        struct tx_desc *ptxdesc = (struct tx_desc *)pmem;
        struct mlme_ext_priv *pmlmeext = &adapt->mlmeextpriv;
-       struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info);
+       struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info;
 
        if (adapt->registrypriv.mp_mode == 0) {
                if ((!bagg_pkt) && (urb_zero_packet_chk(adapt, sz) == 0)) {
@@ -486,23 +486,23 @@ bool rtl8188eu_xmitframe_complete(struct adapter *adapt,
        switch (pfirstframe->attrib.priority) {
        case 1:
        case 2:
-               ptxservq = &(psta->sta_xmitpriv.bk_q);
+               ptxservq = &psta->sta_xmitpriv.bk_q;
                phwxmit = pxmitpriv->hwxmits + 3;
                break;
        case 4:
        case 5:
-               ptxservq = &(psta->sta_xmitpriv.vi_q);
+               ptxservq = &psta->sta_xmitpriv.vi_q;
                phwxmit = pxmitpriv->hwxmits + 1;
                break;
        case 6:
        case 7:
-               ptxservq = &(psta->sta_xmitpriv.vo_q);
+               ptxservq = &psta->sta_xmitpriv.vo_q;
                phwxmit = pxmitpriv->hwxmits;
                break;
        case 0:
        case 3:
        default:
-               ptxservq = &(psta->sta_xmitpriv.be_q);
+               ptxservq = &psta->sta_xmitpriv.be_q;
                phwxmit = pxmitpriv->hwxmits + 2;
                break;
        }