Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp272520rdb; Thu, 21 Dec 2023 08:44:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IHcrrOODXNydBPWQdpveo9IlPFiLGjM/kC81i9RNIYdXx42FEMWbKHpP5inIQCu8zUQ3+n8 X-Received: by 2002:a05:620a:558c:b0:781:1eeb:edc4 with SMTP id vq12-20020a05620a558c00b007811eebedc4mr48738qkn.81.1703177071182; Thu, 21 Dec 2023 08:44:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703177071; cv=none; d=google.com; s=arc-20160816; b=arWIGm1t4ra1xg4TcGa/VhpnT24ZxnNjFtvwl1cI9yNSojmvpZhdF89Q/8f34cW5F/ ia9x4Vcm+t3QoK0g7DQhLKxC0NEgJLV60siJZ+2hIKUUfiHuUJJ14BmnaQIuaYsb8C/v Q+SOB6XK1po+eTh/rkUCWfUls6JxYhjsEt+NwEmuepMEztcTDl0DuGCkeeQXzvpOYbPG t8rEQ/WUfODLqzZyEJLlJeVlL6P0YuOKHyyAyGMzswD7PJUqp+1eJ3FeKA6BQIHNh8Rg SsKvyp8H7uWqSxygDZgmJvOQXrqWG+xB/vQ0y5E0c4wDMjjWcEGutpuFfgLxy2NwIM/Y OMJg== 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=cBjnri6AZCB9qnZ+s0Qx/+UZlNhNhNClIZcD5tvNtFQ=; fh=KsoNWtazjfstHns8t6UZ1pulwZL69aEO39vRs0LPvyo=; b=WvPFxH/P8+WzglGcwIw2/SHik1QMuuI4vygMF9sSkiPGhhoZs4AgqwspcbgIrLTx9R lNpnWe3GiKSCbEPJCp7W/eWTkz4Zsn1yhGHlpaeHjM8/66h6J/fnw5l8pJott3qMKl4y 5MvVEr58YyDGPZ/R4kwaqT7oI2bPrMreIpECBsczLBpySz0UkRgBnKiVKiNSrC77y6SY IDbhz6QW1vfbLKtuUUKzKxW8N8GMGS8gP9P3/xtROvudBj3wL7zZksHAA4Q84HE20hmH Qw84K2JOWF0Lssr1eAWJcm226OmwApR1xSJjM2dQM7VwKItT0R4JJl2wFdT7aI0l0vbJ wtTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=nRWkR0AZ; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-wireless+bounces-1154-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1154-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 x23-20020a05620a0b5700b007811ecc0cf1si1602648qkg.497.2023.12.21.08.44.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 08:44:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-1154-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=nRWkR0AZ; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-wireless+bounces-1154-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1154-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 E86891C2407C for ; Thu, 21 Dec 2023 16:44:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5B1BF58234; Thu, 21 Dec 2023 16:44:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="nRWkR0AZ"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="QXvpssTA" 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 05E4255E79 for ; Thu, 21 Dec 2023 16:44:10 +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=1703177042; 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=cBjnri6AZCB9qnZ+s0Qx/+UZlNhNhNClIZcD5tvNtFQ=; b=nRWkR0AZ9e8tr612PYjwt20vK0188foprSfdsMTOOyk+AZCgh5Zd1opRCjKV6Uytezkx18 l8TIXgW2MwBZb3XjjtrchnRdkrCRqfo2k2FJ1veYkrMedaF+h/BWg2x03h+gCXyi/uygFc QVIP8IxQviQWYnGgjlw1Ml7R7DHiO8DI53UBGmO9ALFsd23QlgYQvbBzHxgjH/9Ma/B/iE CdAljZ4LE07QwY5Viw0xWKaPFB7OAY8rNV2mOcxyFxrqzB28g/lIT2c9jKCP5Qkk13LMTM 3GOc/GAz77eLWyE9NrGB3qkanvKlr7abMzSQ30RX4TSPQ1//zhpcqFsr5HCygg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1703177042; 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=cBjnri6AZCB9qnZ+s0Qx/+UZlNhNhNClIZcD5tvNtFQ=; b=QXvpssTAWRBHnumPQouhGpwfjQvkGMr5MbYgEWmTGY2QdQP199Lownor4mdDE5E5LarpfM u6klEU2e02kOyZAQ== To: linux-wireless@vger.kernel.org Cc: Jes Sorensen , Kalle Valo , Ping-Ke Shih , Bitterblue Smith , Sebastian Andrzej Siewior Subject: [PATCH v2 01/21] wifi: rtl8xxxu: remove assignment of priv->vif in rtl8xxxu_bss_info_changed() Date: Thu, 21 Dec 2023 17:43:33 +0100 Message-Id: <20231221164353.603258-2-martin.kaistra@linutronix.de> In-Reply-To: <20231221164353.603258-1-martin.kaistra@linutronix.de> References: <20231221164353.603258-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 Reviewed-by: Ping-Ke Shih --- 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