Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp6276182yba; Wed, 1 May 2019 09:09:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqz9IOQx16SZcwuKbKA25JskYAIl3aznttC4hW//f904xo4855IYVIvXssZJeCHiVBUVFMVS X-Received: by 2002:a17:902:302:: with SMTP id 2mr78762154pld.232.1556726945767; Wed, 01 May 2019 09:09:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556726945; cv=none; d=google.com; s=arc-20160816; b=pH0pwX0c5qK3qeTE86jE5qdPgj2qjU8kDNUKa4Kh5Qwzeh2Qef8a9RvZNIyQqWGkCL BYfLmIhi6AMYhwXpoa9brTDWxYL0l3BxJxIHMKpiyC7cpAf/i5t61AcwzxocEOAEyI4f k6lnW6/xL6y5wiPlnhPquKU0VP4IMubBt5UKf1PrNeufPK9zLiFr0ycARBSBAKhCPsn0 N6PzdsHxnBsbIL3JjmymOmrBCGl3UVxCnSHMfoK/dfIXI8DRRleRR9TMy4843HYOyeDK /ycalLZmk73C3h32e1T04TVFLTZ0bEH08NECWSIUOcAsXnHCHlMuvatyOwO9PjiWN974 lbOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=goDR7il/GobGap1CmxayRMs5lgXaZY74xdY6eY0Av6o=; b=lmNtgWeS9Rk2AifHsM1GrsRK7BbDWaP5grOzFrYjxeBRy4G7VXMX0xFKdGK8BKBwTQ aDw5i1OlzA0wt1FFldvBX3KM0Irf1NTEUzt07RLkURue/jof0+53/ODFgqgK+dTMslMB vJciJuDWSqt1qUGi0nRT8kIL+YRs0BHyzmYDHYZI0lnUWRZmi9Wn44T7JAv5TPbe7kGR Jui9mDacyZ/FaD2lMWlhCu9CgpnOjhz81tkqBtJIaOR0N2mVgUfhCzKv8kZEKe0qM7QY YDWx/EAbusmyN3R73VAUWUg8bZS/B5Tkrw/H9RgVKS8GJ+vw5boKSlVzrpKSZZOX2Uli 8g9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=q4imgJqk; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s12si5563002plp.420.2019.05.01.09.08.51; Wed, 01 May 2019 09:09:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=q4imgJqk; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726921AbfEAQIE (ORCPT + 99 others); Wed, 1 May 2019 12:08:04 -0400 Received: from mail.kernel.org ([198.145.29.99]:37006 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726913AbfEAQID (ORCPT ); Wed, 1 May 2019 12:08:03 -0400 Received: from localhost.localdomain (unknown [151.66.22.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7240721734; Wed, 1 May 2019 16:08:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1556726882; bh=SHHvAsYQ0fONaPTK0ySLlGNviq+WyE43LNOJwVw5vWU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=q4imgJqkfi4kyymX6sIDAYC5sqaV92mEsqN/zNc3OqsKRU5/yJ5Hbh3ym4jY6Moax 3Xq0HYJrK1qM6B770D2sdBtRrysDPYIHtK0l4ZhRtCwPpfjOXV9OE4GnqoEtcXDGbv Wjyj4SuNfHfvf3zrqsMMzOJqXLTkRMGqkBb1ll3A= From: Lorenzo Bianconi To: nbd@nbd.name Cc: lorenzo.bianconi@redhat.com, linux-wireless@vger.kernel.org, ryder.lee@mediatek.com, royluo@google.com Subject: [RFC 07/17] mt7615: mcu: remove unused paramter in mt7615_mcu_del_wtbl Date: Wed, 1 May 2019 18:07:29 +0200 Message-Id: <5022c02e913ba014f6b16a97f97f258e4078842b.1556726268.git.lorenzo@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Remove unused vif paramter in mt7615_mcu_del_wtbl signature Signed-off-by: Lorenzo Bianconi --- drivers/net/wireless/mediatek/mt76/mt7615/main.c | 2 +- drivers/net/wireless/mediatek/mt76/mt7615/mcu.c | 2 +- drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/net/wireless/mediatek/mt76/mt7615/main.c b/drivers/net/wireless/mediatek/mt76/mt7615/main.c index c45ab9980b69..d6b350a248f9 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7615/main.c +++ b/drivers/net/wireless/mediatek/mt76/mt7615/main.c @@ -336,7 +336,7 @@ void mt7615_sta_remove(struct mt76_dev *mdev, struct ieee80211_vif *vif, struct mt7615_dev *dev = container_of(mdev, struct mt7615_dev, mt76); mt7615_mcu_set_sta_rec(dev, vif, sta, 0); - mt7615_mcu_del_wtbl(dev, vif, sta); + mt7615_mcu_del_wtbl(dev, sta); } static void mt7615_sta_rate_tbl_update(struct ieee80211_hw *hw, diff --git a/drivers/net/wireless/mediatek/mt76/mt7615/mcu.c b/drivers/net/wireless/mediatek/mt76/mt7615/mcu.c index a6a00bad0f11..e71a79c11812 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7615/mcu.c +++ b/drivers/net/wireless/mediatek/mt76/mt7615/mcu.c @@ -1060,7 +1060,7 @@ int mt7615_mcu_add_wtbl(struct mt7615_dev *dev, struct ieee80211_vif *vif, sizeof(struct wtbl_rx)); } -int mt7615_mcu_del_wtbl(struct mt7615_dev *dev, struct ieee80211_vif *vif, +int mt7615_mcu_del_wtbl(struct mt7615_dev *dev, struct ieee80211_sta *sta) { struct mt7615_sta *msta = (struct mt7615_sta *)sta->drv_priv; diff --git a/drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h b/drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h index 2331f0a9bc65..81501cb64f1f 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h +++ b/drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h @@ -122,8 +122,7 @@ int mt7615_mcu_wtbl_bmc(struct mt7615_dev *dev, struct ieee80211_vif *vif, bool enable); int mt7615_mcu_add_wtbl(struct mt7615_dev *dev, struct ieee80211_vif *vif, struct ieee80211_sta *sta); -int mt7615_mcu_del_wtbl(struct mt7615_dev *dev, struct ieee80211_vif *vif, - struct ieee80211_sta *sta); +int mt7615_mcu_del_wtbl(struct mt7615_dev *dev, struct ieee80211_sta *sta); int mt7615_mcu_del_wtbl_all(struct mt7615_dev *dev); int mt7615_mcu_set_sta_rec_bmc(struct mt7615_dev *dev, struct ieee80211_vif *vif, bool en); -- 2.20.1