Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp174943rwi; Wed, 19 Oct 2022 19:28:01 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7MKv0JhbalkgFyIqgGvuaqiUk8cMwbXoWnOLtPpoLAfE+eipypnEV12Fx33FIvExZrP2pM X-Received: by 2002:a17:90b:14e:b0:20b:6a12:cdb1 with SMTP id em14-20020a17090b014e00b0020b6a12cdb1mr49555439pjb.53.1666232880760; Wed, 19 Oct 2022 19:28:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666232880; cv=none; d=google.com; s=arc-20160816; b=yPr6nPebie/i5rmxD+OuyxRcDkFFXW3Aggwoptzqj148vqBc6FiKS8GmCflLRGFLm8 72a+FEd08F/a29Lb6VArq8Y/3fuvrcXKhqcBs7hNFQtp7kD2S5BgRPjbIYWvvqyzVZm+ B40h4wtS3td1+5OOdtx9EOuNnaQ9kL181X/sAXYTWkfezePf8jqtJUU23TFO6m3A3rQk AWmk1oIsVE4n+Ac1UiOXBA0A2Uc6qsJBIEfShZr70g6umIrUgdIWPj1Z1i+U1RzHMzl1 uJ531CBV5hiSRUeteSGeaVr6I0rAGcuLNIYNcIc9/jMCciy0CjhOZh+urLuliYOrqdwJ SXSw== 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=5cxlbEVDeF4plEeh62JkmWpXJNLBpkyMDDpLc8c5MkU=; b=o+q4rjNVWhMwsroqRd9e0iNQEv6xglFRBpF9P+n/Qsz+RuAOOif28dNQqKMWN7eP3H tOddhTBxeQDlDBaG95qHv/zT/VWhu4ZeFZGCOCW9H20OEuU0rwJWQRAG77SFBYarBV+k +bifo0FQnlm3qCo6vvAtQUaTi3N38N64GftCJGZFAYntUr0QlGaSyqBIs0Ip4PMdrh76 NtsBX6YXrTpyUgL4rbeAN3xqI9pMZ3kqcdArjpevvjoUJf09UFysOlkxrk55sY6bClfJ MwiZyuhO9zqHzIkFWwM+vxyFkgR3kTmFWPQ9bB9EobS9ZkrwGEngLvorHA44IX6pc81j 5f/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="i/ZHwd6v"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lk2-20020a17090b33c200b001fb706e96afsi1821262pjb.182.2022.10.19.19.27.49; Wed, 19 Oct 2022 19:28:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="i/ZHwd6v"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S231386AbiJTCOx (ORCPT + 99 others); Wed, 19 Oct 2022 22:14:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231522AbiJTCOr (ORCPT ); Wed, 19 Oct 2022 22:14:47 -0400 Received: from mail-pg1-x533.google.com (mail-pg1-x533.google.com [IPv6:2607:f8b0:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC9F75AC4B for ; Wed, 19 Oct 2022 19:14:44 -0700 (PDT) Received: by mail-pg1-x533.google.com with SMTP id l6so17938121pgu.7 for ; Wed, 19 Oct 2022 19:14:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=5cxlbEVDeF4plEeh62JkmWpXJNLBpkyMDDpLc8c5MkU=; b=i/ZHwd6vtO8tnDAAAmZSyChgftK9wsSwRMKMhPJZoaiURvJ8gEdumCl6AOR1lR5ZKf KiSg3hanIqMlz291v/w0umgZzgIlR2uzUcVqDvwEixzgGYYzFsSMdrIaIuQlV6Rw6F53 xPstk3O+7bTDGXwmtBKvBDzmThnbs3TbXKwf927+rJ53uQ2sN/9sRQUSqFF2vlWe+TW0 IDpScgosPWp7njzSoz9BBlkhTkXfAIyb7j0ZGWvQir9/DCt8HA9tw0YwQ958YU3pyPk+ x00xiEredWYJvKcyy8BxPhMoxSrwqcywKSGxXYxgemgV3tJp8+lcglLt5p1gphgCPvMM Rldw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5cxlbEVDeF4plEeh62JkmWpXJNLBpkyMDDpLc8c5MkU=; b=x+OZ7E0piVGC7n3949j0yuM4Q3BHCgGOVyoHooH2TZsqZjBRprLZx0W/hz6ETCmFAq om+kJhDEIpSaYI603HNmXA2E0e5UbMk793RNZJ3mAetduYDiIZKXZU6eagm5zQv11IUr FS6ngxyTX3B0d/h6lbALwrZqzV2QC1GQo+LNYVr0tZnhIpuKyQQo86hmvLyVbPDZ8wwS Pk3uWJ+ru4eQwm0IdVeKVEMHrtMe4uqJW82qFJMc4RTSp+dp63Og9RDOUj8R/N1059Sd UvUbFfh/UJci5wH5kgvzq4kWnbqb5qA10tQ2KRVUTQ/ASJbQqAXiyTHcQmJXgBMi0UZD kNxg== X-Gm-Message-State: ACrzQf3eVr6VMQ0fJ2zkCwi7tUXFA9eDyxH222HNnkSiBMntny72TCf+ fHFppof6+iD6Gy8ArAc3bfU= X-Received: by 2002:a63:2c8:0:b0:46e:9da9:8083 with SMTP id 191-20020a6302c8000000b0046e9da98083mr456343pgc.186.1666232083946; Wed, 19 Oct 2022 19:14:43 -0700 (PDT) Received: from localhost.localdomain (192-184-163-51.fiber.dynamic.sonic.net. [192.184.163.51]) by smtp.gmail.com with ESMTPSA id n18-20020aa79852000000b005631af4ece2sm11942936pfq.182.2022.10.19.19.14.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Oct 2022 19:14:43 -0700 (PDT) From: Emily Peri To: gregkh@linuxfoundation.org, outreachy@lists.linux.dev, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Cc: Emily Peri Subject: [PATCH 3/3] staging: rtl8723bs: remove unnecessary parenthesis Date: Wed, 19 Oct 2022 19:10:53 -0700 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove extra parenthesis in conditional statement in rtw_ioctl_set. Issue found by checkpatch. Signed-off-by: Emily Peri --- drivers/staging/rtl8723bs/core/rtw_ioctl_set.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_ioctl_set.c b/drivers/staging/rtl8723bs/core/rtw_ioctl_set.c index ac957035bf1a..32194dabd587 100644 --- a/drivers/staging/rtl8723bs/core/rtw_ioctl_set.c +++ b/drivers/staging/rtl8723bs/core/rtw_ioctl_set.c @@ -160,7 +160,7 @@ u8 rtw_set_802_11_ssid(struct adapter *padapter, struct ndis_802_11_ssid *ssid) if (check_fwstate(pmlmepriv, _FW_LINKED|WIFI_ADHOC_MASTER_STATE) == true) { if ((pmlmepriv->assoc_ssid.ssid_length == ssid->ssid_length) && (!memcmp(&pmlmepriv->assoc_ssid.ssid, ssid->ssid, ssid->ssid_length))) { - if ((check_fwstate(pmlmepriv, WIFI_STATION_STATE) == false)) { + if (check_fwstate(pmlmepriv, WIFI_STATION_STATE) == false) { if (rtw_is_same_ibss(padapter, pnetwork) == false) { /* if in WIFI_ADHOC_MASTER_STATE | WIFI_ADHOC_STATE, create bss or rejoin again */ rtw_disassoc_cmd(padapter, 0, true); -- 2.34.1