staging: rtl8188eu: Removed unnecessary parentheses
authorBhaskar Singh <bhaskar.kernel@gmail.com>
Fri, 17 Aug 2018 07:51:26 +0000 (13:21 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Aug 2018 17:22:39 +0000 (19:22 +0200)
Removed unnecessary parentheses and this resolve the check patch issue.

Structure dereference operator have higher precedence then Address of
operator So there is no need of parentheses.

This change is purely coding style in nature and should have not effect
on runtime code execution.

Signed-off-by: Bhaskar Singh <bhaskar.kernel@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_ap.c

index 676d549ef78691fed257d389602424ea2704d46a..e611eda11b5fa429a77898b404fd72fd576ce62e 100644 (file)
@@ -36,7 +36,7 @@ void free_mlme_ap_info(struct adapter *padapter)
        struct sta_priv *pstapriv = &padapter->stapriv;
        struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
        struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv;
-       struct mlme_ext_info    *pmlmeinfo = &(pmlmeext->mlmext_info);
+       struct mlme_ext_info    *pmlmeinfo = &pmlmeext->mlmext_info;
 
        pmlmepriv->update_bcn = false;
        pmlmeext->bstart_bss = false;