Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp882561pxf; Wed, 7 Apr 2021 14:04:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyuPy5uCWYD/+dDMfzj3yIk/ZufZo6PUxJGXphW7JPZqFJTmMUM82J0CBJciMdHVxJ9/cvv X-Received: by 2002:a17:906:6dc9:: with SMTP id j9mr6186684ejt.188.1617829472521; Wed, 07 Apr 2021 14:04:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617829472; cv=none; d=google.com; s=arc-20160816; b=lSmzrlPEh6i0T5EFbUlZrOaIUhJAPVhQALkBricm9qCVEFkxEAEGzxfk3vKxi06i8i ChIoiKp1YrYz7J+VJk6UTNS4/dng+RwzsWYmMHIgLSDn0y9M0GV3KJQ4ewMAQXvp5iWL mU9eRTs9tLOKArcudOyOg5pW491h7rZy5I6LruXT9pyDTs4m/ok0g6J0Gh5i4ZItouNg Zn5OEvl7xx0xb5o1JPJhGfMZb2iUNpCvjmjbSlUNGLqbrgITFV7GP4BN+1UO3Z6lNeKL cQaFA58NPKPhhxDswxxqOMma/58CmjDbxZKhMapiVVrEBM/9n/7QqSU9mlNkrhEflYq3 o4aw== 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=ZHPPmH/9scj2tTqrM6KnTGx6qYluXiPbPCqtebRoBKI=; b=efEtIJsF4RAuP+/2+xvp0HJ0Oj08b7rVWT/X9S2t4Xy5VDk3iHOoYpARRuACdPsYdw QaDQ7RM/bLf0ceUVD+hWV12r6OIf0AKCr9NXZH4iLuO78lzWAztD28SYPgs/IoGtpYhf FpvAAefR8vjWrEOiEiEchiAMPNocSHK1wIi+p3FHrAlXimP84hP76vLB3HyzfrymBGBc 5SzAdeOkRI/OCCAbOnZzX9nkglyAyByLcKX+5uCVkS17nzeoDy2ffHuLdxKZ6xdPYocW V0Omu7g5neAydkk1ATePp3eue6eR/ihTkm2fcDWF/9zE5HjOubGl0pJGgwFx2ttYyf8I dUQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tO1RHbrl; 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 dm24si12233405edb.297.2021.04.07.14.04.09; Wed, 07 Apr 2021 14:04:32 -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=tO1RHbrl; 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 S1352715AbhDGNvR (ORCPT + 99 others); Wed, 7 Apr 2021 09:51:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39286 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352639AbhDGNus (ORCPT ); Wed, 7 Apr 2021 09:50:48 -0400 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4692BC0613DD for ; Wed, 7 Apr 2021 06:50:23 -0700 (PDT) Received: by mail-wm1-x32b.google.com with SMTP id p19so9069876wmq.1 for ; Wed, 07 Apr 2021 06:50:23 -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=ZHPPmH/9scj2tTqrM6KnTGx6qYluXiPbPCqtebRoBKI=; b=tO1RHbrlih5UBJyU6ZDZsGAiXYZA6Snuc3mjqpgaVsZ0quAtnYMeCAOsJ4WoAxk3A8 Uf5xLgy4tHLEcIoXIRw8HNcvzQ+ki0Y9A4r8wo/vGbgihGxjPn89d4V2SIqgvz3zSDqq c9fJsERb8Z47JTPxHS2BMCkABj0hJP3ObqzbZuyMO/5a5C/ZGJUt5nFSsyeUBetaFXMi q/AGsYOKBiF6ex/hp+dbn56UXYIQBOjukEgPVUK9NaTFkx137yYPT228uITNvXnIgEPo FBYS/3IvYj2yt64X1s4uqrKWT3KNz//6KtLcyiWcPGGzZhzrKC60Tx+vRebMVUxL74+u VHBA== 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=ZHPPmH/9scj2tTqrM6KnTGx6qYluXiPbPCqtebRoBKI=; b=B5ve3YACIgeSM/sy/QhNTmprLXhls/aSOLZsGZLmre+Rz48LZIAGs6FfGWqzyVzuKB Fv+ORLtBuGunFBwUobJEUANZ5rZSahQ/Uy0Dp3dekbr3jN+HJQwOwsjeKDaDxHvimVwT HGclui9/gzmj8VCV6l6dTQUK3dJ+bmgapYBAFDKlhwuB9uQtP5hLk0cIcmhsABrw1kws YUQqaRk+l5plmr3DKLO3O6ElHgUjUSmlMjhvk63KxaxU9S2ALjXUN0K20oxFRBj8m5PY XLHS3/kGM52jO7lNownrKILHBYyh27nySItE1iwfPB4975g10GVSOxtstq+AbkTN393w V5Ng== X-Gm-Message-State: AOAM531qqIDexGLYvUFoPSG3oUlNJF7WF7kgB9czarAKrP/Rz/JqH9k3 pCSZHkc/caYPCO7BdDmfhIlhRptTA1HyPA== X-Received: by 2002:a7b:c7d3:: with SMTP id z19mr3251889wmk.139.1617803422380; Wed, 07 Apr 2021 06:50:22 -0700 (PDT) Received: from agape ([5.171.81.68]) by smtp.gmail.com with ESMTPSA id o1sm13431619wrw.23.2021.04.07.06.50.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Apr 2021 06:50:22 -0700 (PDT) From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Fabio Aiuto Subject: [PATCH 16/19] staging: rtl8723bs: remove unnecessary parentheses Date: Wed, 7 Apr 2021 15:49:40 +0200 Message-Id: <1453eec49833fc940e134fc14bc65d218ace0663.1617802415.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 following post-commit checkpatch issue: CHECK: Unnecessary parentheses around 'prxattrib->bdecrypted' 125: FILE: drivers/staging/rtl8723bs/core/rtw_recv.c:365: + if ((prxattrib->bdecrypted) && (brpt_micerror)) 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 18ad719c9826..668a703dee7f 100644 --- a/drivers/staging/rtl8723bs/core/rtw_recv.c +++ b/drivers/staging/rtl8723bs/core/rtw_recv.c @@ -362,7 +362,7 @@ static signed int recvframe_chkmic(struct adapter *adapter, union recv_frame *p if ((IS_MCAST(prxattrib->ra) == true) && (prxattrib->key_index != pmlmeinfo->key_index)) brpt_micerror = false; - if ((prxattrib->bdecrypted) && (brpt_micerror)) + if (prxattrib->bdecrypted && brpt_micerror) rtw_handle_tkip_mic_err(adapter, (u8)IS_MCAST(prxattrib->ra)); res = _FAIL; -- 2.20.1