Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp3380929pxb; Mon, 30 Aug 2021 00:11:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwtN5YSt6j5eTHDeEEUX+wHRv37BnwkVokBFG7+PdExyFA7wn6+It6uriKmtByy4SruAZP9 X-Received: by 2002:a05:6e02:20cd:: with SMTP id 13mr15313368ilq.156.1630307492035; Mon, 30 Aug 2021 00:11:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630307492; cv=none; d=google.com; s=arc-20160816; b=AaevXOq+8MEbo/tVCaAh+OZCMhO8ZWMi8grrD9fJGIbu/6YpeAtG8ED7zGQZok90ag GQrOx40ayy7cKRFOw8XxzvKJN+kvxEEXTnQnlD+hMIOL+yD7y+DzLZiEcoQPKTPT/jpS PEcRzxrNt0Se89jRdu/cwTfO8uHy4tvc6VS9aX6Q/f18oRWbjV1WCO0CJVmae1Eysafi phiQNhLITWXEicwWMnU8cobeODb+ZaT686VvAfGlN/zQkzSj+lsI6SgcvUiRcCRTRErB cshgynXh9mg7897L7uySPYBDrtFQofOS/KUQc5/AhjxBbIP74jfISSlSPZ1TPlWfiAoU iWOw== 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=rZJ/kXxj691OQQ1voEIVZ9kX56LFg3cAMVd4BWTgZhE=; b=t2djUviUg/dtPVYElB85lDat6ycwm4krnpxd8ZJOJDTy8J/q2FtaNG9SObwP7M6rzF gj0DdFZK3yNTP4E7N6oikB+IV4Cnn5ikTIrpRTPbMQXvHooycSjC2pWJCZlgP5qYwcTP XNdKd1N/7eC1v4b3yteXJd2qa43C75L2wOopJ/vV5hofAJP0S2n0nhOYJZiMxy5L0x+z ZXf/cqv0v7qZY/vGeJ66tzztq5kOHty+TMjEU3b6FuI0lhbnr0SaG56AOOxibwNeyvU8 tjVHqnP3C35C5vlixrOEnr7WpIdHprS3/3VFnJ/6JQNlxs6FnlGtxn6VahN5B6giRXQ8 q0Cw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=A8pLfIdI; 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 v17si13371337iln.134.2021.08.30.00.11.21; Mon, 30 Aug 2021 00:11: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=A8pLfIdI; 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 S233630AbhH3HLT (ORCPT + 99 others); Mon, 30 Aug 2021 03:11:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59626 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233486AbhH3HLN (ORCPT ); Mon, 30 Aug 2021 03:11:13 -0400 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 683A0C061756 for ; Mon, 30 Aug 2021 00:10:20 -0700 (PDT) Received: by mail-wm1-x32a.google.com with SMTP id x2-20020a1c7c02000000b002e6f1f69a1eso13913743wmc.5 for ; Mon, 30 Aug 2021 00:10:20 -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=rZJ/kXxj691OQQ1voEIVZ9kX56LFg3cAMVd4BWTgZhE=; b=A8pLfIdIUq8yUHMCd9UfQjFTXpwAaMNfBGA8geICD/zitzsgOusWH2Xbb8hoKywh3c QJAWdfxRx0yuPzwlha+JtFsHeabAizdXlm6pOvZcKWynuKxV4UAAA9RNUyda88QdwuJB qPYY5+zRxjVxArCZEo6BG1ZXFQLl8e0OQGq02D+Zx+whdNfQYZFYVULj4sqd6jE+/oUa CRPw7m6GBiCxe45hVlYkvWjR3rsdeX+iK/pmlub9TKtJASH8Vjpljvw6fo2cOk1Bx1LL DOvVq+b/QUGPmdJVpHnUNb0wcviQv7ESRdRa6Vz2ajDVy/rdxyPmIblRqbh6F4QeH+Bx D25A== 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=rZJ/kXxj691OQQ1voEIVZ9kX56LFg3cAMVd4BWTgZhE=; b=qEAjVQOCaEIbT6zX3R45mOG+WDwuqRewDPQp8dNwJ2pP0IrRH2AN1PA6y8CfMYsFLE Mj4/rIEUrQWxPffL8dR/lbgI97+clI7GPn6czY+dUpXwxYZkmp0Ss4tSVhs+nEk9CmyW 53GNxIW1HeX7oMByGOJChDgtDpkY7Qa2kDT0yXppag9AqZRjzlXqesaZzGZQKNCtLF4O kWwkJQY8CgnV0KV5EA4DSAeLCq1kOBHhXMJWstSKiBBQaS9AZNcj1wBr0JNDzfBE+mF8 tOPwITvrAH6cxsXSjaXIWmnjMqFTRo5Ocy8yEXPvOIv4U99yWqj+XRnT3MUbL7zbGL6B 2hFQ== X-Gm-Message-State: AOAM532uESuxUSq0kHoeOQ2pOB9P5XDqaa9PHRzlBO6Ocf9LsMAaLa04 s4JNWgrmykFdxWMORHenD3A= X-Received: by 2002:a7b:c097:: with SMTP id r23mr20816713wmh.114.1630307419100; Mon, 30 Aug 2021 00:10:19 -0700 (PDT) Received: from agape ([5.171.81.86]) by smtp.gmail.com with ESMTPSA id h15sm13561974wrb.22.2021.08.30.00.10.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Aug 2021 00:10:18 -0700 (PDT) From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: hdegoede@redhat.com, Larry.Finger@lwfinger.net, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Fabio Aiuto Subject: [PATCH 2/3] staging: rtl8723bs: remove unnecessary parentheses Date: Mon, 30 Aug 2021 09:09:24 +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 the following post commit hook checkpatch issues: CHECK: Unnecessary parentheses around pcmdpriv->cmd_queue 103: FILE: drivers/staging/rtl8723bs/core/rtw_cmd.c:169: + INIT_LIST_HEAD(&(pcmdpriv->cmd_queue).queue); CHECK: Unnecessary parentheses around pcmdpriv->cmd_queue 104: FILE: drivers/staging/rtl8723bs/core/rtw_cmd.c:170: + spin_lock_init(&(pcmdpriv->cmd_queue).lock); Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/core/rtw_cmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_cmd.c b/drivers/staging/rtl8723bs/core/rtw_cmd.c index 76418c525b5c..ca405dc76c2f 100644 --- a/drivers/staging/rtl8723bs/core/rtw_cmd.c +++ b/drivers/staging/rtl8723bs/core/rtw_cmd.c @@ -166,8 +166,8 @@ int rtw_init_cmd_priv(struct cmd_priv *pcmdpriv) init_completion(&pcmdpriv->cmd_queue_comp); init_completion(&pcmdpriv->terminate_cmdthread_comp); - INIT_LIST_HEAD(&(pcmdpriv->cmd_queue).queue); - spin_lock_init(&(pcmdpriv->cmd_queue).lock); + INIT_LIST_HEAD(&pcmdpriv->cmd_queue.queue); + spin_lock_init(&pcmdpriv->cmd_queue.lock); /* allocate DMA-able/Non-Page memory for cmd_buf and rsp_buf */ -- 2.20.1