diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2021-09-13 12:25:03 +0300 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2021-10-20 11:36:47 +0300 |
commit | c02f86eee8daf1b97c6fa7c42030f5df857a7a5c (patch) | |
tree | 6921bfbb3b8cc2062f30cb29cb9d71c5a9a663b5 /drivers/net/wireless/mediatek/mt76/mac80211.c | |
parent | bd1e3e7b693c17a04e7d2bd9119daa482b7c7720 (diff) | |
download | linux-c02f86eee8daf1b97c6fa7c42030f5df857a7a5c.tar.xz |
mt76: remove mt76_wcid pointer from mt76_tx_status_check signature
Remove mt76_wcid pointer from mt76_tx_status_check signature since it is
always set to NULL
Tested-by: mrkiko.rs@gmail.com
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mac80211.c')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mac80211.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mac80211.c b/drivers/net/wireless/mediatek/mt76/mac80211.c index ddc692d7b59e..61fff98c1fd6 100644 --- a/drivers/net/wireless/mediatek/mt76/mac80211.c +++ b/drivers/net/wireless/mediatek/mt76/mac80211.c @@ -511,7 +511,7 @@ void mt76_unregister_phy(struct mt76_phy *phy) { struct mt76_dev *dev = phy->dev; - mt76_tx_status_check(dev, NULL, true); + mt76_tx_status_check(dev, true); ieee80211_unregister_hw(phy->hw); dev->phy2 = NULL; } @@ -639,7 +639,7 @@ void mt76_unregister_device(struct mt76_dev *dev) if (IS_ENABLED(CONFIG_MT76_LEDS)) mt76_led_cleanup(dev); - mt76_tx_status_check(dev, NULL, true); + mt76_tx_status_check(dev, true); ieee80211_unregister_hw(hw); } EXPORT_SYMBOL_GPL(mt76_unregister_device); |