From: Yeliz Taneroglu Date: Tue, 30 Sep 2014 18:35:59 +0000 (+0300) Subject: staging: rtl8712: Fix unnecessary parentheses style warning X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=12636551a2d9361e188c8fe280d2a3d90bac4e35;p=openwrt%2Fstaging%2Fblogic.git staging: rtl8712: Fix unnecessary parentheses style warning This fixes the following checkpatch.pl warning: drivers/staging/rtl8712/rtl871x_recv.c:634 warning: Unnecessary parentheses - maybe == should be = ? Signed-off-by: Yeliz Taneroglu Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8712/rtl871x_recv.c b/drivers/staging/rtl8712/rtl871x_recv.c index 8b53f568abe3..9b99a71670f3 100644 --- a/drivers/staging/rtl8712/rtl871x_recv.c +++ b/drivers/staging/rtl8712/rtl871x_recv.c @@ -631,7 +631,7 @@ sint r8712_wlanhdr_to_ethhdr(union recv_frame *precvframe) rmv_len = pattrib->hdrlen + pattrib->iv_len + (bsnaphdr ? SNAP_SIZE : 0); len = precvframe->u.hdr.len - rmv_len; - if ((check_fwstate(pmlmepriv, WIFI_MP_STATE) == true)) { + if (check_fwstate(pmlmepriv, WIFI_MP_STATE) == true) { ptr += rmv_len; *ptr = 0x87; *(ptr+1) = 0x12;