Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp698482rdb; Fri, 22 Dec 2023 02:14:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IH0BA6xKfFxEO4pLeQV3kFZ64h3AAyia+hWTFzv3z7RDwUbmgyf6suLSxOvUdr9g4HRVPFI X-Received: by 2002:a17:906:4957:b0:a23:1138:a36e with SMTP id f23-20020a170906495700b00a231138a36emr580735ejt.120.1703240094343; Fri, 22 Dec 2023 02:14:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703240094; cv=none; d=google.com; s=arc-20160816; b=EqDI5iRA93/7bt6CT9VIbX7Z3xbWcvWxC0O/i3arj2zlF2TI/rl980ho7ewXdiakFx VLjClxEpy+313CNJlAHsSoRclu7oCYiuvOX/QIJZsrN+87OII0tsmc1wQskB0WfFi2m6 OayaXuoGs6fP9JvYdzpmjhI2/omUBRpcrSPAanQ6Mu76XdOrkFkzJNbk2g4exP7d1gJt +zo20NBQzZlZajJbE4DLT/gpxwuWo+4Qp8hxIz9Li7lYq30uOmbMzv7mmCKIOtQ6UB0y ShJDUpuDpoK9PjtSuJOR+7QOEU2diYUhKHxQPrikEJ9huKPdqqOFHtCUxiBdn9ONGf4w 1GAA== 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=y2Kz6+YNIuqs3pihyU9V7RlUxaai/s/Nv5aOyxXH30KF/HZ0k3kjDStn3W3jz8KMvI JzpJf5JU1j0IzXxNJsue6x7tTF6yxmX6jAESzex8aN87dWrf4D0st5wjd4s1nromHOqw x+JfCxbRJRROG9ugjCCTTP9sIKFtjuu96EhiQ8a0R8527itw4XklzXanbccAVn4MqgNh kQ6Vi7rW+y5pm/EReFyvUzz04XDr4mpGKtHFAjzlzB9O44Qcv/4S34kVWXbqLqUjzWFO ZdhdjbSz3P2k1Ga2mPq2fUINS4z7yTrxlirVfA/iMcew93TzBjRzO6EPqMs7I0KEp7Ec af6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=WlBw8UWq; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-wireless+bounces-1222-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1222-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id r20-20020a170906c29400b00a230ff886bcsi1703899ejz.552.2023.12.22.02.14.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 02:14:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-1222-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=WlBw8UWq; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-wireless+bounces-1222-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1222-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 105BA1F24E35 for ; Fri, 22 Dec 2023 10:14:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1C81F11727; Fri, 22 Dec 2023 10:14:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="WlBw8UWq"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="XDKieVel" 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 A2BFD11704 for ; Fri, 22 Dec 2023 10:14:48 +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=1703240086; 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=WlBw8UWqXqYiuZC4B5s7wCbnxde3htVouYBo/DBUPE5GVXGNEQ0RoVRwKXBhguX4A/D0Yo +ca9URKFOezkB1qQ01kuiSqqkVhsC7OSOyaf7Yl+hpHUgBoU2RB8vMWBfiLIcjbi5n5jj/ faQ5hmOJjSq96TDq0vGwgGXs/baBP9Kf2Ofy/fbrlemiC7FU/ptOodblQmXNU0kNovgMg2 PAUzS1F6Yoy76qFUckJUH7gG4M+I+hXVsjEbpbSjSqdejS6+VidH4OAN4vZyt19B+XTZGS vLiQIzkB+SIXK2DASYTvuaC3eNlXK7vLHzRNSqnuJvjc3vd8wLCEzpdqwe8f8A== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1703240086; 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=XDKieVelI5Cocf2Wdywdd0zZuJv7pd5q78VnB/ucTcZHPgRpQrH2NIrxBgkVSdO3rFn3EC Ybm9Eg4v9TLyPXCw== To: linux-wireless@vger.kernel.org Cc: Jes Sorensen , Kalle Valo , Ping-Ke Shih , Bitterblue Smith , Sebastian Andrzej Siewior Subject: [PATCH v3 01/21] wifi: rtl8xxxu: remove assignment of priv->vif in rtl8xxxu_bss_info_changed() Date: Fri, 22 Dec 2023 11:14:22 +0100 Message-Id: <20231222101442.626837-2-martin.kaistra@linutronix.de> In-Reply-To: <20231222101442.626837-1-martin.kaistra@linutronix.de> References: <20231222101442.626837-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