Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1442646pxf; Fri, 2 Apr 2021 10:33:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxqZxE+lo1DlqQLQcJ/ePCg7mS8HIXCVHpJW0oqmMIquc6DHvW6kq9Qkqy9zY52RoQ1rCAm X-Received: by 2002:aa7:c850:: with SMTP id g16mr16366351edt.324.1617384796605; Fri, 02 Apr 2021 10:33:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617384796; cv=none; d=google.com; s=arc-20160816; b=cP1u872Bd+G2n20NzTjPd9QBmXXQ83aaE/6zqkgtBVQ4Pl1GZkxnrqiMfB1tT3PrlQ bQWmur2C6hFTLHbLJN3YkzfGeCuCFSe623zA3NgRHTRaExfwWvJhrsXHwlCfdCYzl03h OeG97cCSVtp7ZZDLEZIg3FjODHn1rgM2H/0eHQCw8Dav8sQ9QAXcYxZi5ilpUik5I/Zy 6K0PkPfI2k8EA1dXw4gAgB3xVTIUGBy/8/LUmkXMoBeFE4LAjnPMmMit0xgNgPLAA3Z4 vm1Lt9G1QaQSdYvsATU4h+Ln9C0bj7BSjn1xu+vwBwXaheDgjzLD6uMGpCg6QmKvqoQw opnA== 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=E8bbdy5ANezX/OAgNbcbaPvOTXw2bVOTk89yAGt1EkldBnFBmZ4q2pqoEA14bhXKjY kOnykW9OibnobzYrXiUDP7QFlHGUgBA3VMTDOAsQe7N8VdtRXGlyriMpbfGmRKDdaV2i kq8m7rXer2bF1uxFptS+1lfseFl9NSNvgV73qK6JenfvSh1LVl79AZtk8WP43wNi4NEd uv8dNl9tMnCZ/SvveQT4BKcsPWkoe6wu0TBKKSAlqk9obgw7EehNLIb+H1oLQThrGpqh +zDJd+ji/bvBMB2eLn4NlN51VYz2sIvcnK+4YJb89aFl0GvPEs/0nOnwnjRAE/7ZACwh T1QA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=UrQjwenA; 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 cy28si849035edb.132.2021.04.02.10.32.53; Fri, 02 Apr 2021 10:33:16 -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=UrQjwenA; 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 S236255AbhDBRbk (ORCPT + 99 others); Fri, 2 Apr 2021 13:31:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57184 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235919AbhDBRaz (ORCPT ); Fri, 2 Apr 2021 13:30:55 -0400 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 57D09C061794 for ; Fri, 2 Apr 2021 10:30:54 -0700 (PDT) Received: by mail-wr1-x432.google.com with SMTP id i18so1836663wrm.5 for ; Fri, 02 Apr 2021 10:30:54 -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=UrQjwenA7WxWylxoVILYo797M8gt7WuRfZnPwtRi4pAXjHNQCKoBpZwL4Qy4oBKs+O yuUCFnwi6TZ7nFTdboeFeCk6LkKdZKdfxPEe4XP3eueHM1vxM6/Ifu6YfrsqIWS+cOCl 3IOwghH9VAUJLTJgbtU1qnUSfJ013uTj90su5A0gIqGM3/XKpfcdxnrOAixkFIB8PA3g zoZRwXW8x4wZIB1awAx4ASgXvlcRUk59f5u/e85oRigBXjp2Qw4yGddSA739Enoly23k 4Kjt8LoXvvCkNclHzkjIJ7jt+RipdRkrQ5weJgknvFhXlLMb6a+39S9kCIRXGdtwJVOx FevA== 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=S+O72gD5PLTJioPWCFLX38fuuNj8jghu1j3iEUuJd8pwyEJLBotJDpB6OAKm5y9oTC fFGZMNweUDXgy3Klrb6jMzPqIkcJ4S2Xj4d7/iWaJO1+1UUPWtDp1fzP6DNGQXu2OYIX ao8adbYLtCHAypBjsTSpomHB8Y33pMC7g136lOfONquny1Qa5hPhaJwO/HBNHMzeXmDJ 5HdHfJLRo73HrYIBFv1OvdjmvSQwLPaT6k3krxWXq+Z0DJDq1SiXmsqcF7/F6//IKvrZ F0eHZTtfBH6ggm2E2MgbRff3ClYnULFsdTsCU0+p0qOLHA82x/ggqCirdnGPY/HPKBxC 0W+w== X-Gm-Message-State: AOAM533F/9MZp1k60m4oc+FacLLl0WPljWpKjmn1BsczGPr+SItZ2WuK ihEetwMaBDTmxqjFFVxggLQ= X-Received: by 2002:adf:f005:: with SMTP id j5mr15956882wro.423.1617384653134; Fri, 02 Apr 2021 10:30:53 -0700 (PDT) Received: from agape ([5.171.81.4]) by smtp.gmail.com with ESMTPSA id b15sm15516114wmd.41.2021.04.02.10.30.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Apr 2021 10:30:52 -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 v2 22/30] staging: rtl8723bs: remove unnecessary parentheses Date: Fri, 2 Apr 2021 19:30:04 +0200 Message-Id: <79185dc9fb8b7c31932e12bdbca494b127fac561.1617384172.git.fabioaiuto83@gmail.com> 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