Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp1164378rdb; Fri, 22 Dec 2023 18:00:42 -0800 (PST) X-Google-Smtp-Source: AGHT+IETQi4svP653oNZtjpH1Z1+bCLkyv8YZrxInUYN7nZp5S/1qvepFMpMF23fecIgjG5p0vwn X-Received: by 2002:a9d:730f:0:b0:6d9:f1b4:c560 with SMTP id e15-20020a9d730f000000b006d9f1b4c560mr2208396otk.67.1703296841939; Fri, 22 Dec 2023 18:00:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703296841; cv=none; d=google.com; s=arc-20160816; b=Go49O56RQZ6EkicgI0Lig0FfyONbInQUKxOcx7lp/4AKAUYlnaUslivRSvul0ITn2Y nNaYUb9W1r6rYyekP0g02jf0blqCdW06AjGerCj3n1CJv9uzx4NBAzT9IVkJ0xDJTII1 b5S4W5La8CIXb+2jNAqrBdB9lvHL8KoQHVNCWNys8nMEeX2NlQtZRRLaI7I/4ANTTQcG geziI/P/AAoAXcfS97ZOYvnnyUj3BLBt8Q8R99VLvLLbZAxWuLOPCqqpLHtiL5H03XMu olf7aIp72oOgojWUSoBAJN1Avg3Gpz8T7gQzgqmoa/GEYZl/YoyiZH/jw6BaqKASvgi2 8ccQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=G+laPmH1xo9FtQlmwlnX0zePEIJhHvMoJwKvv4M3oYI=; fh=p32Pg0zBdFjDUOpUp1txX3SLnGswM8C/CMMa7TUpsLA=; b=jsci5pg9So6Q6WZ9ufOhCREWT0TAuzb0s2arHIOKI7gsSL/t8LF09liF6FcRNTb/25 b5hnhMuQ5vOejHpAqoCeSABxnnWX4lMZ3zQTqH2C2XeBtfYVGnfq4B50kGdw5t8kYCop 16Wb/JY7ER71sviP6t+xjbpDJhNDJldQV+oxNwaBahPuh7beQK2pCqrUJk6NtO7nVwE/ IOYhDbsHEf+oq6an1Podw8cRpVsSvaZ1sUkb+QMO9Itw5RO+S2sV9IJjjsX9Rz0jfZQ/ KS1FHAEkZlea0O7OcfrEmJmj+oEwE/m2BeB39bPn/x8PvHowuQTvd6VajxA4ubKBarf6 IF2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=Qxn4ooKK; spf=pass (google.com: domain of linux-kernel+bounces-10187-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10187-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id ko10-20020a056a00460a00b006d983f1fce5si2270645pfb.276.2023.12.22.18.00.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 18:00:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-10187-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=Qxn4ooKK; spf=pass (google.com: domain of linux-kernel+bounces-10187-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10187-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 9415E2854B5 for ; Sat, 23 Dec 2023 02:00:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 361A763C7; Sat, 23 Dec 2023 01:59:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="Qxn4ooKK" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-il1-f179.google.com (mail-il1-f179.google.com [209.85.166.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 330DD186F for ; Sat, 23 Dec 2023 01:59:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=darkphysics.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=darkphysics.net Received: by mail-il1-f179.google.com with SMTP id e9e14a558f8ab-35fa08df8afso9748355ab.3 for ; Fri, 22 Dec 2023 17:59:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1703296789; x=1703901589; darn=vger.kernel.org; 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=G+laPmH1xo9FtQlmwlnX0zePEIJhHvMoJwKvv4M3oYI=; b=Qxn4ooKK46f2ZP/uC2OHgIecp3bmGHk1rWsFEYuGMbmOzGqhpKrYmtqhlybWy+WLe8 WyDFbObHS3LQcFFy/1Bg9DScreVMAgg9zQuF7a7JMk7rE2Tvv0kJraHlx9HIQ3usyT7F BXhRfLqbYuTkcW9whYSI6jtVsSplGnJmzTBnW7GSatDeSLU3j1SHCGNlDFyq2py9Z5WU uTAw7oaSJr14p/QH3YWfVuP3DfGVt7fdDV44hdMOlYl2sOL6PnbxtOGLsjkjgL4F7SZr qYjNadNH4PJ5iIWrx6AZJJ2m75xFAjLOERHYhVhtbHr2SuM5kOAEsLFUMMek1HcUV0BY bHUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703296789; x=1703901589; 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=G+laPmH1xo9FtQlmwlnX0zePEIJhHvMoJwKvv4M3oYI=; b=kgB1SLU9kizSvrhMAuZ93qpYSRA0JEcbhlZISBhawUnAQ91zOZ2XO0qFkoAkGtUjqf Z4xHC76kiv3SnwSuDy2Fk09Aa8NYrUcvn7mSs1rIe5gnKeB6LjwYIMV192h7VnGIPERO FyHtMU5bQZOn7HhLp/ntwRr9+P8CbTXHBXChToWV83wUujV9G9GgpR3NnuihRCg7mk1l ZlmO+cET9jJdS+j5WHFhUKSK6gqMLbkx/K96NWwCsfxeUW+GGtZ2R3hQW+nNDrnWWt7x JZu5R7HPgyHvZHgcfxwxFX8MBfDWYXrQ35fFl6WXjloR/1SvzbaVuQ1qwLYovMRE6dal 7l0w== X-Gm-Message-State: AOJu0YxU1OEuf2o/KFk2vw3X2jAUtCblV+Gu2a3DkYxucjHz5ade+mrQ L8Sbb3oF3ldSTO4+nGBD0ZZ4M3k6jI0EFQ== X-Received: by 2002:a05:6e02:1be5:b0:35d:59a2:1281 with SMTP id y5-20020a056e021be500b0035d59a21281mr2977068ilv.45.1703296789322; Fri, 22 Dec 2023 17:59:49 -0800 (PST) Received: from oatmeal.darkphysics (c-76-146-178-2.hsd1.wa.comcast.net. [76.146.178.2]) by smtp.gmail.com with ESMTPSA id kg15-20020a170903060f00b001d3edef115dsm4106546plb.20.2023.12.22.17.59.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 17:59:48 -0800 (PST) From: Tree Davies To: gregkh@linuxfoundation.org, philipp.g.hortmann@gmail.com, anjan@momi.ca Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Tree Davies Subject: [PATCH 04/20] Staging: rtl8192e: Remove unnecessary parenthesis in rtllib_rx_assoc_resp() Date: Fri, 22 Dec 2023 17:59:26 -0800 Message-Id: <20231223015942.418263-5-tdavies@darkphysics.net> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231223015942.418263-1-tdavies@darkphysics.net> References: <20231223015942.418263-1-tdavies@darkphysics.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Remove parentheses to fix checkpatch Warning: Unnecessary parentheses around resp->info_element[0].id Signed-off-by: Tree Davies --- drivers/staging/rtl8192e/rtllib_softmac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c b/drivers/staging/rtl8192e/rtllib_softmac.c index 960cc86ac23b..208079c542ea 100644 --- a/drivers/staging/rtl8192e/rtllib_softmac.c +++ b/drivers/staging/rtl8192e/rtllib_softmac.c @@ -1619,7 +1619,7 @@ rtllib_rx_assoc_resp(struct rtllib_device *ieee, struct sk_buff *skb, kfree(ieee->assocresp_ies); ieee->assocresp_ies = NULL; - ies = &(assoc_resp->info_element[0].id); + ies = &assoc_resp->info_element[0].id; ieee->assocresp_ies_len = (skb->data + skb->len) - ies; ieee->assocresp_ies = kmemdup(ies, ieee->assocresp_ies_len, -- 2.39.2