diff options
author | Aybuke Ozdemir <aybuke.147@gmail.com> | 2014-09-21 00:01:31 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-23 15:02:31 (GMT) |
commit | b631ecd70e0c5af6d5820f7890dccab1206c88b4 (patch) | |
tree | 1ab5cc47c7a755f9489d3fd061d8a70ebbf04a70 /drivers/staging/rtl8712/rtl871x_xmit.c | |
parent | 730cb373f3aaf7be69f59db6999e1e07f18117c2 (diff) | |
download | linux-b631ecd70e0c5af6d5820f7890dccab1206c88b4.tar.xz |
Staging: rtl8712: Remove unnecessary parentheses.
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>
Diffstat (limited to 'drivers/staging/rtl8712/rtl871x_xmit.c')
-rw-r--r-- | drivers/staging/rtl8712/rtl871x_xmit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8712/rtl871x_xmit.c b/drivers/staging/rtl8712/rtl871x_xmit.c index b985edc..39e1ef0 100644 --- a/drivers/staging/rtl8712/rtl871x_xmit.c +++ b/drivers/staging/rtl8712/rtl871x_xmit.c @@ -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); |