Received: by 2002:a05:7412:a9a3:b0:f9:327e:43ab with SMTP id o35csp138158rdh; Mon, 18 Dec 2023 06:37:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IGhYP2ObiOJTMNuQ/C9ZhE6Ahx0vvMRYRlMhnAmdVdHjcmRLkaDornGGYh7f6UVkop/22US X-Received: by 2002:a05:6102:3da3:b0:466:948f:2ca2 with SMTP id h35-20020a0561023da300b00466948f2ca2mr1066966vsv.6.1702910232939; Mon, 18 Dec 2023 06:37:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702910232; cv=none; d=google.com; s=arc-20160816; b=j23hbFzN6F/uK+p0i07NEN29BLhIsvdEsXxsV9bRSJ3dKtwUE1lG3GAJY274RcpsQP XCv0+Sldpn00EzVmEJj6BbvHVbuaVHvyKZ3QASgA8BkkyRvVNVUBc9Q9lJ/nBEeFqsqZ we+dEoeNxocv/s7tLlnF5xE/cT+7jlUGMQKFXzIePCG4KQY6xx8vIzLZwo40xo2qHVk/ 3keTXfFotoBsAI3/sUKIpbPjggjK62/GphvS9hVCFxcaUk8xtdk6Q3gONgKAONHtcvZ0 oVab6eN2ZudQSH28ybnUU9m+YgrD6m0owj436hy51dBG6/acvtvB3ZG2siHeyQeoXhZn b4dw== 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:dkim-signature:dkim-signature:from; bh=Z+Bxa0fwIKiIt1y3nQfQ/G3TrI/8fdY0+DuJgF4EycM=; fh=KsoNWtazjfstHns8t6UZ1pulwZL69aEO39vRs0LPvyo=; b=s8jRgJgnnvz5WpuFXhRDfVwZsj5txSGEz8GO8r4x9D4dV6ja31X0oSkGCCHSnIecKc Vef07SoYCm8rtiT4g6PdSlXGe+qFV49Z10QfsFwt1MePheRZN5XbZHYza3Vf9MewlwJR V4E4HQJuP7XR78KAkZvva1Xzn6I381W5eEnEQ2w/pjZ1R2jLrGSTRMJSmUCGU0VikrKJ Y5qGgayrxwAxa4cznw+BgPx0Cq1cdRUWSJmGYGq8IXqEdIsEMtjgQtj6VnOh4/85C1gr DAagKToEHP/MQvNpiX+tSKdQRo12slx5Dsxobj0gWVP+r3QJh7THt6HkuMt4ZbD7CfJH MCUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=N5rXQle+; dkim=neutral (no key) header.i=@linutronix.de header.b=weFgCZHz; spf=pass (google.com: domain of linux-wireless+bounces-911-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-911-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id w3-20020a67e243000000b00466900bd61csi299352vse.101.2023.12.18.06.37.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 06:37:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-911-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=N5rXQle+; dkim=neutral (no key) header.i=@linutronix.de header.b=weFgCZHz; spf=pass (google.com: domain of linux-wireless+bounces-911-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-911-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id A2DD01C22C4E for ; Mon, 18 Dec 2023 14:37:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7B4963787E; Mon, 18 Dec 2023 14:37:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="N5rXQle+"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="weFgCZHz" X-Original-To: linux-wireless@vger.kernel.org Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1E06237860 for ; Mon, 18 Dec 2023 14:37:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de From: Martin Kaistra DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1702910227; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Z+Bxa0fwIKiIt1y3nQfQ/G3TrI/8fdY0+DuJgF4EycM=; b=N5rXQle+/hgXoImG8BpWWLpTMdSaffNeqnB6nP4dkKSuCLpTx48us0JCWrVCMUHblOzXoI ZDZTlCyQqNv/p8U2MdLcJiFkkeBR+e54UWzf2HYXUIT+xi4LOgC2A1zYoIrp/MWQbsKKen RdCMoB+CjDdhJnIaJlywY4qAoskbrbPpnUzkxzO38NOYz3tWpYSADBoYUVIvKiXVxG3oNo +UtLHq2s1zvj4AOHdc5+FzsrBCpOSIWK3abaT0AEIUZC8NV9p4PrRaiqQb9zxTyjFtfXBH Ljd3UJTIdnudP6/FDNNrldDp7WPoYOzAXlmszfTssw6euL1Q/1cT5O8cziGPrQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1702910227; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Z+Bxa0fwIKiIt1y3nQfQ/G3TrI/8fdY0+DuJgF4EycM=; b=weFgCZHzKNqf56qkFJVaEFBdMd+BrydseEukHDPwmElZUjW4XRLzR/a7sKa/GwelwhYEdb hVBpbzfjyWIUqtBg== To: linux-wireless@vger.kernel.org Cc: Jes Sorensen , Kalle Valo , Ping-Ke Shih , Bitterblue Smith , Sebastian Andrzej Siewior Subject: [PATCH 01/20] wifi: rtl8xxxu: remove assignment of priv->vif in rtl8xxxu_bss_info_changed() Date: Mon, 18 Dec 2023 15:36:26 +0100 Message-Id: <20231218143645.433356-2-martin.kaistra@linutronix.de> In-Reply-To: <20231218143645.433356-1-martin.kaistra@linutronix.de> References: <20231218143645.433356-1-martin.kaistra@linutronix.de> Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit priv->vif gets already set in rtl8xxxu_add_interface, there is no need to set it also in rtl8xxxu_bss_info_changed(). Signed-off-by: Martin Kaistra --- drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c index 43ee7592bc6e1..2dbed43ef22a5 100644 --- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c +++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c @@ -5004,7 +5004,6 @@ rtl8xxxu_bss_info_changed(struct ieee80211_hw *hw, struct ieee80211_vif *vif, rtl8xxxu_update_ra_report(rarpt, highest_rate, sgi, bw); - priv->vif = vif; priv->rssi_level = RTL8XXXU_RATR_STA_INIT; priv->fops->update_rate_mask(priv, ramask, 0, sgi, -- 2.39.2