summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYeliz Taneroglu <yeliztaneroglu@gmail.com>2014-09-30 18:35:59 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-10-02 17:15:12 (GMT)
commit12636551a2d9361e188c8fe280d2a3d90bac4e35 (patch)
tree31439528bc4837d898326acef3969f224c230270
parent042b623cf57a7c381326bdfe1db046e9b0b8517f (diff)
downloadlinux-12636551a2d9361e188c8fe280d2a3d90bac4e35.tar.xz
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 <yeliztaneroglu@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/rtl8712/rtl871x_recv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8712/rtl871x_recv.c b/drivers/staging/rtl8712/rtl871x_recv.c
index 8b53f56..9b99a71 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;