diff options
author | Lorenzo Bianconi | 2018-10-10 12:31:13 +0200 |
---|---|---|
committer | Felix Fietkau | 2018-10-13 17:39:39 +0200 |
commit | 7859c543b65d4621d22dbfd7d884fc0d417a1722 (patch) | |
tree | 3d663617b0341f8bb17f25a3a66c6deea3039b51 /drivers/net/wireless/mediatek/mt76/mt76x0 | |
parent | mt76x0: phy: fix restore phase in mt76x0_phy_recalibrate_after_assoc (diff) | |
download | kernel-qcow2-linux-7859c543b65d4621d22dbfd7d884fc0d417a1722.tar.gz kernel-qcow2-linux-7859c543b65d4621d22dbfd7d884fc0d417a1722.tar.xz kernel-qcow2-linux-7859c543b65d4621d22dbfd7d884fc0d417a1722.zip |
mt76x0: phy: remove channel parameter from mt76x0_phy_set_chan_bbp_params
Remove unused channel parameter from mt76x0_phy_set_chan_bbp_params
routine signature
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76x0')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt76x0/phy.c | 4 |
1 files 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); */ |