Skip to content

Commit 1263655

Browse files
yeliztaneroglugregkh
authored andcommitted
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>
1 parent 042b623 commit 1263655

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/staging/rtl8712/rtl871x_recv.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ sint r8712_wlanhdr_to_ethhdr(union recv_frame *precvframe)
631631
rmv_len = pattrib->hdrlen + pattrib->iv_len +
632632
(bsnaphdr ? SNAP_SIZE : 0);
633633
len = precvframe->u.hdr.len - rmv_len;
634-
if ((check_fwstate(pmlmepriv, WIFI_MP_STATE) == true)) {
634+
if (check_fwstate(pmlmepriv, WIFI_MP_STATE) == true) {
635635
ptr += rmv_len;
636636
*ptr = 0x87;
637637
*(ptr+1) = 0x12;

0 commit comments

Comments
 (0)