Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1846288pxf; Sat, 3 Apr 2021 02:17:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwJAD9t/r1rilq6kDHLWItu58BtMROsqKz5t/cewK74P7yTjeSHeq3PB8pcmJd5nbg4yfDG X-Received: by 2002:a05:6402:1754:: with SMTP id v20mr19684026edx.191.1617441438853; Sat, 03 Apr 2021 02:17:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617441438; cv=none; d=google.com; s=arc-20160816; b=ndb1uAeRVY68az7zaSmSD4Wb1eixgWCupcyLVKWFFHwYuOHpegx9GEkLZhPG+X88pS 0NPpUXWUEdbK2e5aH0Y2YojGztaLQJ5Bnq5RsCMM7A7a97ssdYog4i3vQDFdW0cMQUqP c1LSJUGprgChZogOR96IPuvKTTjdKJlQsGxa+9s97qrPGH8CewvHRUdW3SKCWEo9YE6L 3oaG5Li9dT6km/Vqw5yUm2/XD/tMGTLfqGxzOudDMkAlVhR9oLJLYOdFeaJcs9VTq5Zv qAPUPrcxYFryKp0ns2NbVAFoIERB/aXOFKQGA2uKnICxwIZVxFheIFsUqFNnpxURiY1W OGyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=0XTNpFKePUpupflX0dLUf675z1Pas224B6agSkT6pgU=; b=ABI83V1/td85LJDi4IqZX27ySoJ9RWWYt1amcdIVa5AtfK8YDMo1tV8xFPGNHRS29E E5dlKfFJHhrypfrZzp2ZkuCAC7r80r/iAFc3eMPm1KbUrQ/fDjPapUTdDddEfFnjM9Z7 ibiPT1iWJl5cSXLn0AcjpKgDQU3sYFakC59a34sg0UEni6z0MEQn50TB+9WGlKe25SPE 1yY8rj2lT1YOwokqQomWwNxn8EkcxArnmzURMv8g9Q10yVUOoEUXZHJT6g7oSYsoJQLl Yt/fd9A5Uihg0DRrMoqRYdCVliD+Sxo2SHaj83FSYocwYUMkBN2Op/yZPdtWQhHvBQ+k 9IfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=CNIAVLyL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id co21si9001814edb.513.2021.04.03.02.16.57; Sat, 03 Apr 2021 02:17:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=CNIAVLyL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236798AbhDCJPf (ORCPT + 99 others); Sat, 3 Apr 2021 05:15:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33652 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236688AbhDCJOy (ORCPT ); Sat, 3 Apr 2021 05:14:54 -0400 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 13869C061794 for ; Sat, 3 Apr 2021 02:14:50 -0700 (PDT) Received: by mail-wm1-x332.google.com with SMTP id 12so3451746wmf.5 for ; Sat, 03 Apr 2021 02:14:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=0XTNpFKePUpupflX0dLUf675z1Pas224B6agSkT6pgU=; b=CNIAVLyL25ley6I8RSugU6rL98P7zwsqcXK+s/tws8nntiUyxeJhyswKyiFZpev1V1 /F2MotsdHi35I6WOTTiB4JvXKNtYpvNcC7HecOJr3cSYdbHyPVOBxh8Rnjq8CZ5eGi50 QZ6+va+b1WFbQQE51DsPf5FRFh3TACrzk/+hUNK75hWo2/W0AXAVIP2lfnkekIN9etTF eAMTsU2oFmslTju93M0X8RcUhCoG9xv5BD3uaxJvbItKOZTBmOuYWc+OvXCi1hXveRh5 LDReOpEtRfrH3leE0UNbzB/i5r2Y1KGRST0UPAOXbWHpinJTtUkt/RhPaiA2ruY8Ghl7 dELQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=0XTNpFKePUpupflX0dLUf675z1Pas224B6agSkT6pgU=; b=iS1mZ08JDMBz/fFgxbbHUtZUCtYSHbnPI0MgTBLxJi03z/s+dqBOiPY8GHvnQrrCp+ oJ6GYSPLRFTNxDaNA1NuRElT9f3kIZfniGn/YG2qshOXnlTFJbji7zMemY0TnCwPOaNM zr8H8U8VtR/bmtKFl2QqEuBYwkv9Y2b1ikDsfZc3kEP6JGw3F3PS14nG+mSwiYOBEWsd EfGMOSasWHLslGUlByCw9Ek4zUPWrnXuwCAAn1uHdAV3+hT3rTkWOnjC2dRO5dCFtBFo EV9t0t9QGgGiQtXhFBJORf8qAwKicuqcecQshGMo9iH3Dg8JrF+DzJ6mggjUBVhgm8cj g+CA== X-Gm-Message-State: AOAM531GxbnrFLXZKpRTiBIx6HYHlLaTiVxrkIcZLxLv01s17SbpjZhy UEQnvP84tbB2/GLdns+TrTQ= X-Received: by 2002:a1c:1fc7:: with SMTP id f190mr365321wmf.64.1617441288905; Sat, 03 Apr 2021 02:14:48 -0700 (PDT) Received: from agape ([5.171.72.64]) by smtp.gmail.com with ESMTPSA id m14sm15045666wmi.27.2021.04.03.02.14.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Apr 2021 02:14:48 -0700 (PDT) From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: dan.carpenter@oracle.com, joe@perches.com, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Fabio Aiuto Subject: [PATCH v3 22/30] staging: rtl8723bs: remove unnecessary parentheses in core/rtw_recv.c Date: Sat, 3 Apr 2021 11:13:44 +0200 Message-Id: X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org fix post-commit checkpatch issue: CHECK: Unnecessary parentheses around 'psecuritypriv->bcheck_grpkey == false' 24: FILE: drivers/staging/rtl8723bs/core/rtw_recv.c:381: + if ((psecuritypriv-> bcheck_grpkey == false) && + (IS_MCAST(prxattrib->ra) == true)) Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/core/rtw_recv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_recv.c b/drivers/staging/rtl8723bs/core/rtw_recv.c index c8a13d733c98..cd4324a93275 100644 --- a/drivers/staging/rtl8723bs/core/rtw_recv.c +++ b/drivers/staging/rtl8723bs/core/rtw_recv.c @@ -378,7 +378,7 @@ static signed int recvframe_chkmic(struct adapter *adapter, union recv_frame *p } else { /* mic checked ok */ - if ((psecuritypriv->bcheck_grpkey == false) && + if (psecuritypriv->bcheck_grpkey == false && (IS_MCAST(prxattrib->ra) == true)) psecuritypriv->bcheck_grpkey = true; } -- 2.20.1