Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp939417pxf; Wed, 7 Apr 2021 15:35:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwJsoJEMfcPzzgjb5BqDPCwscyOJYfcBR4XmtTrVoooaBe7F9DfKzI57XNxu+YAnz5zvuAU X-Received: by 2002:a50:9b4e:: with SMTP id a14mr7252369edj.0.1617834956429; Wed, 07 Apr 2021 15:35:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617834956; cv=none; d=google.com; s=arc-20160816; b=pZd0hkGcXUouNZyEi9w43r6tbN4oo1SoMbJ2Axa9maSOKSGoJuuox++HYwZBkwfYh/ rs5pbHXk3k56Lc6R4e+fxUzQl1kMWM7NPI8QzeA38rsm2HHPioQTWPtWvHBmphjNz9vz Q0Q3R3ug3tEYQO9O53jeE2VZDNtOkT4j5cTksBm4xOlaw2bb5OnbjBntg4x9/88RiN7Q r4Navo0XGJzhMnWphjGUR31FhT7OClTEdprNks6WBudHZmw+/3d2uUsPv0aqVuSN6EvC oF1Eu+vQZS1fPyezPwd0JJo5+M0k2dklvxPNq8wOridrseR7N332ZyGNPUIzuhTsAUWQ AM8g== 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=8ATocqzISrvJhii+4mqvqB6jnvgXhMORzZO+oZXnMLk=; b=gh3d3b0M3a1nOYoPo4ToYfF0w+YxAg+a8iovLqboMN9D8uQA/O9kc87ww3/lB943Ta 1Hu2aa0X8zB3WqgodZFwFJxLr0WxwkwcCJCsEnaU1MDeLQoVeZrPGW6fzoBxbNQ3rrz1 D9BpUQdm8SJtQLvjzQj4fuy/8M38+zGbkNNV+2DTrH5VjAxBmT4SwUy0Glbkf2ueBZPc SQ+W8tMJeYH4p6ctVFjDRgM15NbOLVcbuoUIy4SLVLykP4hnlWIgsRnV2WPdeTGr4I61 xbrtL5vrf/1qUHbIa0inocXOvP6elvs9P4LxYsgBMvqwrFQyEm9Zx11akdIEyGSNZB6t HmZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=F7SMBjXM; 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 p22si19569849ejm.148.2021.04.07.15.35.33; Wed, 07 Apr 2021 15:35:56 -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=F7SMBjXM; 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 S1352695AbhDGNvY (ORCPT + 99 others); Wed, 7 Apr 2021 09:51:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39412 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352644AbhDGNus (ORCPT ); Wed, 7 Apr 2021 09:50:48 -0400 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71516C0613DF for ; Wed, 7 Apr 2021 06:50:28 -0700 (PDT) Received: by mail-wm1-x336.google.com with SMTP id p22so1256457wmc.3 for ; Wed, 07 Apr 2021 06:50:28 -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=8ATocqzISrvJhii+4mqvqB6jnvgXhMORzZO+oZXnMLk=; b=F7SMBjXMoQNt/S4a54onFYpu6SDPHVjbXyfXEls5sPeUr+sdCwYQVzNSx5qED+3o8u eiQVv0tzteF5QWlGBjY1HLYj1SKc6twX3pBjuasV6feOe6XgBIFKcHY6P9S3n7+1Cvqn r4rltEDzlNnxDYTxM4Cm0Fdjxg4KQNfOVgef6Ak0UQDN5ckD2+zFh1rAp7ssvRyWalS1 JRxHErS3tgJqye+FuHQ9fwrQrn+4+nT5IvahkgwFAeQ3lGjPuziXTbh1vSr+VAuKrYh5 YXre5KCPciSyn+33Pansm6vKIMRx2hqh5ncZkpkk+/07nH972+EP9hgxSZgWnAbwno3H wMWg== 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=8ATocqzISrvJhii+4mqvqB6jnvgXhMORzZO+oZXnMLk=; b=INjkPH+jmZUnnh6y58yyw0UQwxs9RwWyHsU+j24hF9SO4POCvwZnQdPwmoLNLVZRrP NDuiOWYVU4U+d4OTbRGIJg6sFpByfgK4BrF27cp0Xf3NOf1F3tTk2HdA1+xL0iWPbdRi 8x39WlF45fYonKmelPoimDHDS2P+uWlHFSkDbifN3B5v8fwQazD3gmTkQtWEpTO0C/1l dtjAAAQqr6nCIwZvmzaDsSmwU08m75v/6a3UcW/g2mi/bF3n1UvtshMbdkSvu8LC8n4r rmeRtHMEXWW0lGZFVV4m76RC59Cy31z4OUm2aGWcaRrJqdX7bOpzdsu5M8lNgJh3H8tD 7EJw== X-Gm-Message-State: AOAM532IxBm8YAWNBEWCQn05w54shbqwfpi33mnI3N9l4FGf23XxURgm I5Vk7FyLyftv7/HKZcY5A7U= X-Received: by 2002:a1c:1d53:: with SMTP id d80mr3220568wmd.62.1617803427225; Wed, 07 Apr 2021 06:50:27 -0700 (PDT) Received: from agape ([5.171.81.68]) by smtp.gmail.com with ESMTPSA id c2sm8663811wmr.22.2021.04.07.06.50.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Apr 2021 06:50:26 -0700 (PDT) From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Fabio Aiuto Subject: [PATCH 19/19] staging: rtl8723bs: remove unnecessary parentheses Date: Wed, 7 Apr 2021 15:49:43 +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 following post-commit checkpatch issue: CHECK: Unnecessary parentheses around 'padapter->securitypriv.dot11AuthAlgrthm == dot11AuthAlgrthm_8021X' 84: FILE: drivers/staging/rtl8723bs/core/rtw_pwrctrl.c:335: + if ((padapter->securitypriv.dot11AuthAlgrthm == dot11AuthAlgrthm_8021X) && + !(padapter->securitypriv.binstallGrpkey)) Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/core/rtw_pwrctrl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_pwrctrl.c b/drivers/staging/rtl8723bs/core/rtw_pwrctrl.c index 893c7a417587..f7465cf90c46 100644 --- a/drivers/staging/rtl8723bs/core/rtw_pwrctrl.c +++ b/drivers/staging/rtl8723bs/core/rtw_pwrctrl.c @@ -332,8 +332,8 @@ static u8 PS_RDY_CHECK(struct adapter *padapter) ) return false; - if ((padapter->securitypriv.dot11AuthAlgrthm == dot11AuthAlgrthm_8021X) && - !(padapter->securitypriv.binstallGrpkey)) + if (padapter->securitypriv.dot11AuthAlgrthm == dot11AuthAlgrthm_8021X && + !padapter->securitypriv.binstallGrpkey) return false; if (!rtw_cfg80211_pwr_mgmt(padapter)) -- 2.20.1