Staging: rtl8712: Remove unnecessary parentheses.
authorAybuke Ozdemir <aybuke.147@gmail.com>
Sun, 21 Sep 2014 00:01:31 +0000 (03:01 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Sep 2014 15:02:31 +0000 (08:02 -0700)
This patch fixes checkpatch.pl warning
Unnecessary parentheses in rtl871x_xmit.c

Signed-off-by: Aybuke Ozdemir <aybuke.147@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/rtl871x_xmit.c

index b985edc158b9477b92e0fc9d7ee07ea74574d933..39e1ef06f6b926388c86bbe53506e66a8bdf3e64 100644 (file)
@@ -491,7 +491,7 @@ static sint make_wlanhdr(struct _adapter *padapter , u8 *hdr,
                                ETH_ALEN);
                        memcpy(pwlanhdr->addr2, pattrib->src, ETH_ALEN);
                        memcpy(pwlanhdr->addr3, pattrib->dst, ETH_ALEN);
-               } else if ((check_fwstate(pmlmepriv, WIFI_AP_STATE) == true)) {
+               } else if (check_fwstate(pmlmepriv, WIFI_AP_STATE) == true) {
                        /* to_ds = 0, fr_ds = 1; */
                        SetFrDs(fctrl);
                        memcpy(pwlanhdr->addr1, pattrib->dst, ETH_ALEN);