Received: by 2002:ab2:6f44:0:b0:1fd:c486:4f03 with SMTP id l4csp129873lqq; Wed, 12 Jun 2024 20:05:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVk/rUcr5g1/hMk/JUlxQUHFvddDB7QRlHbOhMt2BTJp9OxXzkOQGwkPHIDJW4rZxmiB9zn5hREpPIWCIckuGqVGU9vzZ9lcO8uH727fA== X-Google-Smtp-Source: AGHT+IFUyVLyOjj2U9fw/ZBoL241gQHBG+4Upt63TVtQe/KJBsEV+emZ8c5VpOJWlLhi4jRf6NXo X-Received: by 2002:a05:6a21:9994:b0:1b8:4486:fb74 with SMTP id adf61e73a8af0-1b8bf0de1e0mr2243707637.25.1718247905516; Wed, 12 Jun 2024 20:05:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718247905; cv=pass; d=google.com; s=arc-20160816; b=NWiR8pW/B0KX4oC+fg/z90IwXDNeE6utlGbZ5GGyGBHApeRuTxd1DBF3Dhu+DTNr+Z QWhN81g3PVYhBeeCOqH/zr/zK9bAr2RE+YY500rcfEFks0xokqxmrtdJxK21z8pRbazf jiaz09fEk0z5BnluFeSzUsEDQBuyNMSoXVk5RpAozadL1lcTqySh8vh3YBYZODjlE2oi 9AJudd9+HkqRrEOXv6mGwS0top8rgwlFyVM1tlnI5pDNR+uYk2QDCMeArcpCBXeL2e45 DL6+2F4jRauLgza75DeLBtrNc14X1JS8fEl2PIkWsTh+FPNd+t93xlL3w2Koy9PV6Nx3 7vvg== ARC-Message-Signature: i=2; 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; bh=4OvuOb7g6PHWvVqmxVZoF3CYcis25XY+U2z4bDuSQW8=; fh=q/sT9aWJClszEEEGAgre1DQ7K6ujMQaCTiss0283ohg=; b=kORbGtRTk98DE+RZDI9iOqVdy5/eUKSlEnR1k7deTwRJ1YOtOvRuckddAWRXQgmtCX awL9B92qfgkKKqNIu8A1TGvgFsxEZFqRdcluh7vEC2JCGAfnE3lo7SslAoOYjaj8wZQ6 6nIpTLwz9UiVIb0FhOHw/WjPoXpo2hv4/8xIH0uoutEGKj/ZN/K+mN/EqM7ZgwfOKVNH XAT4U+Ok8hu0ccWz7ImIBQmJGnSI1C3tp+5/RhMaA9YxucG2+o89a8WYrCnGEdvOFBx5 2O9KJKk09a33+HwPQp7IOmgCpuKm7BqfikF+T497XHNJ0AvuaoBOo6MdS2y2pFou6GdS AYuA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-wireless+bounces-8925-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8925-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6fee310ce5asi383849a12.301.2024.06.12.20.05.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 20:05:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-8925-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-wireless+bounces-8925-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8925-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 4BC7FB22A9D for ; Thu, 13 Jun 2024 03:03:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 69C9412CDAF; Thu, 13 Jun 2024 03:03:22 +0000 (UTC) X-Original-To: linux-wireless@vger.kernel.org Received: from mail-oa1-f44.google.com (mail-oa1-f44.google.com [209.85.160.44]) (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 0577612CD8C for ; Thu, 13 Jun 2024 03:03:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718247802; cv=none; b=azUFhpyJSjZru4Eb68VFuHq+njFmRDAv2PasA0NythNbjsCeLhwAnliZdUfXNkCSbiCVh++MDLZUrKlpdfATEzJSJ2E9jf2jcE85PP9NIM0t1lkUq0B4zYdjY87kMK9/AJ2MhfInV1tYEJ+UEHBpUbV9NdFuqdVUoirAHmcBKBc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718247802; c=relaxed/simple; bh=wDB2HxNuR8lyPbH7qqiHcueUkOQrG/lTBmckXlhsShU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=GBBoIOeVdZw5+Fd14KbEw1+SrC3cONBYBeNfuahtiL2Vw7TmKHCPhJzP7FdnljmSv9rz+rsUi1FlA0ILoS1JzPY8Qt4LasWMHi38GJBsQZLJritdZF8T1UgeU1jdNA1DdFhDK2e2ldJgoERZ0y7NmFPylKaotAlqSv23570/hFc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org; spf=pass smtp.mailfrom=gmail.com; arc=none smtp.client-ip=209.85.160.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-oa1-f44.google.com with SMTP id 586e51a60fabf-25496e90cf5so70086fac.1 for ; Wed, 12 Jun 2024 20:03:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718247800; x=1718852600; 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=4OvuOb7g6PHWvVqmxVZoF3CYcis25XY+U2z4bDuSQW8=; b=WKJ/4dQLEgLmfHKWlpZPripqGfDogpTLb8dG79K7qQPt9B9yKTcWPowEGYU6WvQ0ED XtBvZq2iB0m9zmJJnn7iIau+R7mdMEZi0W5Fn02YDTkrGzKml+9gwNdSuNGd4zq6UAtc LQG7uhpbCVD0uczHdNLZe9A63kp1I6gCHIGKVQal9F2/R8dV0D4MI7IPpNwweJIFaSQh i842OyFn9XuLTmqgAbj+O4Aw0HYYOyNXxgahoz9pmEgTgu1ocioVg4GS9zGHXHyrtSAZ oUdsUglE7Foctf//dzLW71UICCUNTsWj+9QtENNRwoqy9JTL/w3XjcCefBEXOcbUk0QZ 69MQ== X-Forwarded-Encrypted: i=1; AJvYcCVkXmsd5SHoO2mB7PPEvMzXTHi3Wbe0/LF+GBLPpJ01H4IumFYrOlEzWl5mj/7Xt1HjiXTubtab9d7eKWvbVw==@vger.kernel.org X-Gm-Message-State: AOJu0Yy/OGxv6uY45XoTrTKjw1/+kWOkb3nk1VEa/3BYvp4LCkIIDKNi SXJJ6nLW/DstlN2Twit/iSYfP7alC298cdEIIlHr3NHb+cUuSEml X-Received: by 2002:a05:6820:b0b:b0:5ba:c4ed:ee98 with SMTP id 006d021491bc7-5bb3b7a4c51mr3589617eaf.0.1718247800095; Wed, 12 Jun 2024 20:03:20 -0700 (PDT) Received: from sean-ThinkPad-T450s.lan ([207.191.35.252]) by smtp.gmail.com with ESMTPSA id 006d021491bc7-5bd629263c5sm67685eaf.46.2024.06.12.20.03.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 20:03:18 -0700 (PDT) From: sean.wang@kernel.org To: nbd@nbd.name, lorenzo.bianconi@redhat.com Cc: sean.wang@mediatek.com, deren.wu@mediatek.com, mingyen.hsieh@mediatek.com, linux-wireless@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH 15/47] wifi: mt76: mt7925: remove unused parameters in mt7925_mcu_bss_bmc_tlv Date: Wed, 12 Jun 2024 20:02:09 -0700 Message-Id: <20240613030241.5771-16-sean.wang@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240613030241.5771-1-sean.wang@kernel.org> References: <20240613030241.5771-1-sean.wang@kernel.org> Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Sean Wang remove unused parameters in mt7925_mcu_bss_bmc_tlv Co-developed-by: Deren Wu Signed-off-by: Deren Wu Signed-off-by: Sean Wang --- drivers/net/wireless/mediatek/mt76/mt7925/mcu.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/net/wireless/mediatek/mt76/mt7925/mcu.c b/drivers/net/wireless/mediatek/mt76/mt7925/mcu.c index 48b157f42db9..797d4c936fec 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7925/mcu.c +++ b/drivers/net/wireless/mediatek/mt76/mt7925/mcu.c @@ -2179,8 +2179,7 @@ mt7925_mcu_bss_sec_tlv(struct sk_buff *skb, struct ieee80211_vif *vif) static void mt7925_mcu_bss_bmc_tlv(struct sk_buff *skb, struct mt792x_phy *phy, struct ieee80211_chanctx_conf *ctx, - struct ieee80211_bss_conf *link_conf, - struct ieee80211_sta *sta) + struct ieee80211_bss_conf *link_conf) { struct cfg80211_chan_def *chandef = ctx ? &ctx->def : &phy->mt76->chandef; struct mt792x_bss_conf *mconf = mt792x_link_conf_to_mconf(link_conf); @@ -2336,7 +2335,7 @@ int mt7925_mcu_add_bss_info(struct mt792x_phy *phy, mvif->sta.deflink.wcid.idx, enable); mt7925_mcu_bss_sec_tlv(skb, link_conf->vif); - mt7925_mcu_bss_bmc_tlv(skb, phy, ctx, link_conf, sta); + mt7925_mcu_bss_bmc_tlv(skb, phy, ctx, link_conf); mt7925_mcu_bss_qos_tlv(skb, link_conf); mt7925_mcu_bss_mld_tlv(skb, link_conf, sta); mt7925_mcu_bss_ifs_tlv(skb, link_conf); -- 2.34.1