Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp431424pxb; Sat, 10 Apr 2021 07:24:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwGE5pyvMBNhGf7k0SqM76AWDqS1TziYhWmjxAaPYw4YvH8tVg7piAn1zPdGil5+8ryhTJ6 X-Received: by 2002:a50:fd12:: with SMTP id i18mr16334051eds.137.1618064654301; Sat, 10 Apr 2021 07:24:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618064654; cv=none; d=google.com; s=arc-20160816; b=iLmSPNH+POPgOLl19OR/s+fg0Ats1j3o46KG4TVz69r1QnApUKjtkPye1r3PDuj7Y3 oLsSTq9Lk7Xkk8w7xoUvuLDFrEcD93sLVjLv8KkEfGhMHBPbL7Ry8FSOIH4vNrbkFtYt uK5eLBQ6Nm8ClB4Tu+EadkXoyrVBjHeH+OzCcLEbryPMP0Bk5bnPcaHSmwhwwflDJ15x FpjHWl84rWoYEjEpetFvCLRMYpEqmK/0FGM9NbQKudGGexxJQVhB8VR7AJXRB90AuvKl 5/nQDRg7sqIa0OE+1MZG4lynBIFShFG2xf+Ca278PKOAzhM4jN3ezu+1lIm5/hV1l6kJ IPOg== 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=hm/qIgnpnFQqfRktyMoUjQ+eNm+mCcSEBpPI8cninMM=; b=afCOb9Fq6guq+Shxn6sWni/GsPm/Z0r+E+atmmudazkY7hZPVjzjosYY1M53ArFITL epKMXMGi83zqbsrJ5dyosGheZkBuOkh7QCKwHr4e7+EaMNAjqVooATFxKlk2++88TZ3Z GBE2aiGl1lnFmiErzoyjL3hotJ5q2a2C7JpmclYEUTcnJkeJFG0XCaxFjmftcU9iMN58 VwDTXe7CnWhYVoC5Kf5I2SF14gOLnmSKlHDXFmJbilwkBHvwn9CA7301JaOF6i6KFNsq naYBXFuaROTHsBgw248cDLO3btNVNvdnKdh9FhgCwXrYqSFPukuUeZ6/07ZZaUN+wXhZ ZNDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=BlaFFSRQ; 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 m7si4189280edd.486.2021.04.10.07.23.51; Sat, 10 Apr 2021 07:24:14 -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=BlaFFSRQ; 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 S235020AbhDJOXE (ORCPT + 99 others); Sat, 10 Apr 2021 10:23:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234996AbhDJOVb (ORCPT ); Sat, 10 Apr 2021 10:21:31 -0400 Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DFEBEC06138C for ; Sat, 10 Apr 2021 07:21:14 -0700 (PDT) Received: by mail-ed1-x52c.google.com with SMTP id bx20so8632500edb.12 for ; Sat, 10 Apr 2021 07:21:14 -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=hm/qIgnpnFQqfRktyMoUjQ+eNm+mCcSEBpPI8cninMM=; b=BlaFFSRQbAEsZ0MlGWQH6QmDa7YFr7kk+hDjY6hXiB9W2bQscsmyooFeFnXFsDxNKv uZQI5xHuKh+IZT65I9eY5xyPqUT9gpxkJvhPf3XMiUMlPGWq8Fiiz5XV424qP9njoyUZ 3ddytLAWPONthG/aDfAHKTuudbn9NIcCiPTreKf201/RwZXH/6dx4QEu1MPe5CBpg+BG ts7c7wIX3mTzP76vmpCedOGr2ORBX2NNkMEvqGZFK66kmlaICTEWU7PgGivTiJaRAO+N 5jLNjWdq3KSSoAXh2+a2EG6MyjIuvr/Qmh862RBYEpzqTZIgiF3IsYnno6iX7dcQfDV5 V2Sw== 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=hm/qIgnpnFQqfRktyMoUjQ+eNm+mCcSEBpPI8cninMM=; b=Y51mNciAwN3zD5anwRLPldKwTgbqCJPFsevCGnVGoX6r8CuQFtjfWFOxc7VAR7bnnt DJeh3IjmbvHw9leVyAqtzgSbe/pxRCI4XmQFWZjMaS2CMKkYNYmhwOjDz0L//mp2xy4T Tv389Li/aaoBrcQwC83M+WrnwSHhqGoR27ylYDQTQ6d4mgG18GYgjzPyWwTi7LFRmwjK t9mL56DboT2N6dPxkcwIq8tV65LDinsd+U0xy55+9u71WjaoQdZsmTcjr6jncXzaMvM2 NV7iNCheOs5ohB6fuVvOnUH3rJUn1ZmoWwe8qZLEaUJejxdEnqK2cGPVtnVbBVRns1F3 tPAg== X-Gm-Message-State: AOAM531xb8AUzSJZUSfWJQB2bGmBHxFssSzYEkmAgsboLzIWBpRqSNp9 tObn4IXTAUz5adWTdLUWZ3ozlPg9GBkNqw== X-Received: by 2002:a05:6402:2054:: with SMTP id bc20mr8960838edb.334.1618064473472; Sat, 10 Apr 2021 07:21:13 -0700 (PDT) Received: from agape ([5.171.81.28]) by smtp.gmail.com with ESMTPSA id p9sm3168261edu.79.2021.04.10.07.21.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Apr 2021 07:21:13 -0700 (PDT) From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 21/25] staging: rtl8723bs: remove unnecessary parentheses in os_dep/ioctl_cfg80211.c Date: Sat, 10 Apr 2021 16:20:34 +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 hook checkpatch issue: WARNING: braces {} are not necessary for single statement blocks 94: FILE: drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:1225: + if (pwdev_priv->scan_request->wiphy == pwdev_priv->rtw_wdev->wiphy) { cfg80211_scan_done(pwdev_priv->scan_request, &info); } Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c b/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c index 617c88c6e4e7..39d0a0d24d2b 100644 --- a/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c +++ b/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c @@ -1223,9 +1223,7 @@ void rtw_cfg80211_indicate_scan_done(struct adapter *adapter, bool aborted) if (pwdev_priv->scan_request) { /* avoid WARN_ON(request != wiphy_to_dev(request->wiphy)->scan_req); */ if (pwdev_priv->scan_request->wiphy == pwdev_priv->rtw_wdev->wiphy) - { cfg80211_scan_done(pwdev_priv->scan_request, &info); - } pwdev_priv->scan_request = NULL; } else { -- 2.20.1