All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mt76x0: phy: remove channel parameter from mt76x0_phy_set_chan_bbp_params
       [not found] <cover.1539167134.git.lorenzo.bianconi@redhat.com>
@ 2018-10-10 10:31 ` Lorenzo Bianconi
  2018-10-12 10:37   ` Felix Fietkau
  0 siblings, 1 reply; 2+ messages in thread
From: Lorenzo Bianconi @ 2018-10-10 10:31 UTC (permalink / raw)
  To: nbd; +Cc: sgruszka, linux-wireless

Remove unused channel parameter from mt76x0_phy_set_chan_bbp_params
routine signature

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
---
 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/wireless/mediatek/mt76/mt76x0/phy.c b/drivers/net/wireless/mediatek/mt76/mt76x0/phy.c
index 29bc4e4623cd..7c30ba47c7f4 100644
--- a/drivers/net/wireless/mediatek/mt76/mt76x0/phy.c
+++ b/drivers/net/wireless/mediatek/mt76/mt76x0/phy.c
@@ -529,7 +529,7 @@ mt76x0_phy_set_chan_rf_params(struct mt76x02_dev *dev, u8 channel, u16 rf_bw_ban
 }
 
 static void
-mt76x0_phy_set_chan_bbp_params(struct mt76x02_dev *dev, u8 channel, u16 rf_bw_band)
+mt76x0_phy_set_chan_bbp_params(struct mt76x02_dev *dev, u16 rf_bw_band)
 {
 	int i;
 
@@ -705,7 +705,7 @@ int mt76x0_phy_set_channel(struct mt76x02_dev *dev,
 		val &= ~0x20;
 	mt76_wr(dev, MT_BBP(CORE, 1), val);
 
-	mt76x0_phy_set_chan_bbp_params(dev, channel, rf_bw_band);
+	mt76x0_phy_set_chan_bbp_params(dev, rf_bw_band);
 
 	/* Vendor driver don't do it */
 	/* mt76x0_phy_set_tx_power(dev, channel, rf_bw_band); */
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] mt76x0: phy: remove channel parameter from mt76x0_phy_set_chan_bbp_params
  2018-10-10 10:31 ` [PATCH] mt76x0: phy: remove channel parameter from mt76x0_phy_set_chan_bbp_params Lorenzo Bianconi
@ 2018-10-12 10:37   ` Felix Fietkau
  0 siblings, 0 replies; 2+ messages in thread
From: Felix Fietkau @ 2018-10-12 10:37 UTC (permalink / raw)
  To: Lorenzo Bianconi; +Cc: sgruszka, linux-wireless

On 2018-10-10 12:31, Lorenzo Bianconi wrote:
> Remove unused channel parameter from mt76x0_phy_set_chan_bbp_params
> routine signature
> 
> Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Merged, thanks.

- Felix

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-10-12 10:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <cover.1539167134.git.lorenzo.bianconi@redhat.com>
2018-10-10 10:31 ` [PATCH] mt76x0: phy: remove channel parameter from mt76x0_phy_set_chan_bbp_params Lorenzo Bianconi
2018-10-12 10:37   ` Felix Fietkau

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.