mt76x0: phy: remove channel parameter from mt76x0_phy_set_chan_bbp_params
authorLorenzo Bianconi <lorenzo.bianconi@redhat.com>
Wed, 10 Oct 2018 10:31:13 +0000 (12:31 +0200)
committerFelix Fietkau <nbd@nbd.name>
Sat, 13 Oct 2018 15:39:39 +0000 (17:39 +0200)
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>
drivers/net/wireless/mediatek/mt76/mt76x0/phy.c

index 29bc4e4623cd880084bcac23bffb9ca6803819b5..7c30ba47c7f4c96948fb2966fbcec1acde5d37ee 100644 (file)
@@ -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); */