Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp2595585pxf; Sun, 4 Apr 2021 07:13:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzLdv3ssFTN9lJp0uEXBaEVTz3+P1LfymD56e3spiqCZG8BwxvDcN5KFM/OVMFLIgZB/WHL X-Received: by 2002:aa7:db01:: with SMTP id t1mr26511876eds.77.1617545599235; Sun, 04 Apr 2021 07:13:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617545599; cv=none; d=google.com; s=arc-20160816; b=SgjDITDHVppsa7aHCJEXW6NkpSIt8nL8247DuIVp3546Jh2Q1Vj3yVYJKBfPfaInab +vcpwORrRQ8VL1I7OpajFJLauDsxYa9wlzhQF/5R23UrCRVcxlu2EqKP7nIrzjVuY7PR kO4l8HbqjmHVgCds3UlNO57qUD9io1mhnUYAY8JJ/pzwYBNlJRmKrxOb4olBI4tYGydE j5pkYi94dw83e4fcqC3bAMBQNK/Av1yRI1H6MbFMz/bv75ren4LoEq0JJ2VGzpOdbLrI 3oVP9AxrD3qsSHv91ViOYyVGwlcXrz9WsbnadvbDgGSCSE8OL7z5rj7MzCpSfGTYCZB7 SmjA== 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=vXCLvI8TEyAmbBcLdMXgq4ObYns8B8WMiEotpUKpaLI=; b=WiEbIqWsXf++TY1ZtH1lpAFGoi6GpUsEAa+PoFYkfn1m7c8cb9me7AsklzSneOGFty Giu9jeiFnsrLEHmGgGQKzg4s25kt2UsVSxiKBCZ5zI954zplvniTIKVFBYc15ad6x+RC 1ilcBZVq3aZ8+UtPd/SkP4a3G/gphhv1MuhMuwEoriQJw6YrrwNxvcugT7iiZhYdqqyq gQKADZ09pOHvEnbomLChn+Sdu0jdVQncOETN6AJ3a6YU1+UZ5yLZa7sRfCrz/NCGQ8Gj 4E6OOZom47UOhiT5hTc5BHvkjrQRAmodToLogECpuwLUAfKPxg4wkAKNiuwg5KVK/JsD BvjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=h09SrG+r; 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 ld16si10736189ejb.528.2021.04.04.07.12.56; Sun, 04 Apr 2021 07:13:19 -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=h09SrG+r; 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 S231359AbhDDOKk (ORCPT + 99 others); Sun, 4 Apr 2021 10:10:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37508 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231233AbhDDOKS (ORCPT ); Sun, 4 Apr 2021 10:10:18 -0400 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 397A2C061756 for ; Sun, 4 Apr 2021 07:10:13 -0700 (PDT) Received: by mail-wm1-x331.google.com with SMTP id m20-20020a7bcb940000b029010cab7e5a9fso6418653wmi.3 for ; Sun, 04 Apr 2021 07:10:13 -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=vXCLvI8TEyAmbBcLdMXgq4ObYns8B8WMiEotpUKpaLI=; b=h09SrG+r+5CWjgigGT0BYGHjCzEwKi9mzCR2/48D2LF+znv236NDVYDzokxR7YrGwZ YSpEIcDzYxtR3XMR62416DflGpVuxe0aphmwNYjVoOYyTpPiLetpYjW0tm1aTw9eRNBD 1HVKba+p5cHJ7/b/r6+e1UE55uP+m9aJo70jNpvZiIOB/TjP/7SvckO6ObEIRrwwipHH czPibnUzdxlLX+n//pyom/p+h5rXkotiqGqGm0mEnmjimYRjzlivkQ3k3Lu/eL3JQ0pB ZtILhv0HvNx1906e97kyvEyrbfJw7IaWdHbBKTmv0bgUn273l3MrVeP4+1V+cvoBkO5b Vc6g== 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=vXCLvI8TEyAmbBcLdMXgq4ObYns8B8WMiEotpUKpaLI=; b=f+xx6v5xJHMXxns7h24lC2vNZTiP4H/upRjq1jM3EbKZPN+qHPS2bnswFZ1hKHQyUp gK+lgvuotaney3fBFM/eXgu0WmykCnoI68P6KADyo3G2yEWqA978yX5AUY1Gpa1hTHti zJAKfwrm3ri8sQJIFv4lxyvkm44igN1P117P8dkMGzzR53tV8GbnAuJ9d6+mNaOmyp9r 3nr7gfguVHhnd3cFazFC2rIZh685PtQN2BzP8GUlSbArtDqIX5e9NO3bS5i9+mJNCa5O 4Kx4wABHYp8na8KqILbltzWSWEO1C4poJ20+sopJMkli4yZ+lrwA+7ua3jxLcVId9lG3 qlGA== X-Gm-Message-State: AOAM532/TL0INjR/t5EVtxuxAVYVm4z7GgPGzu35bTuYaYH7F6sNGnnG +hQCRGqPuDbIdGjhfyyVG6Q= X-Received: by 2002:a1c:bd55:: with SMTP id n82mr21034711wmf.3.1617545411881; Sun, 04 Apr 2021 07:10:11 -0700 (PDT) Received: from agape ([5.171.81.112]) by smtp.gmail.com with ESMTPSA id k16sm11319725wro.11.2021.04.04.07.10.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Apr 2021 07:10:11 -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 v4 13/30] staging: rtl8723bs: remove unnecessary parentheses in if condition in core/rtw_cmd.c Date: Sun, 4 Apr 2021 16:09:29 +0200 Message-Id: <04aa9d68d6d28d295001dde7cc14f33ef83f8046.1617545239.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 hook checkpatch issue: WARNING: Unnecessary parentheses 166: FILE: drivers/staging/rtl8723bs/core/rtw_cmd.c:2000: + if ((pcmd->res != H2C_SUCCESS)) Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/core/rtw_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_cmd.c b/drivers/staging/rtl8723bs/core/rtw_cmd.c index 840b9da9f2d9..77c583c60343 100644 --- a/drivers/staging/rtl8723bs/core/rtw_cmd.c +++ b/drivers/staging/rtl8723bs/core/rtw_cmd.c @@ -1997,7 +1997,7 @@ void rtw_createbss_cmd_callback(struct adapter *padapter, struct cmd_obj *pcmd) if (pcmd->parmbuf == NULL) goto exit; - if ((pcmd->res != H2C_SUCCESS)) + if (pcmd->res != H2C_SUCCESS) _set_timer(&pmlmepriv->assoc_timer, 1); del_timer_sync(&pmlmepriv->assoc_timer); -- 2.20.1