wifi: mt76: Remove unnecessary (void*) conversions

No need cast (void *) to (struct mt7615_phy *).

Signed-off-by: Wu Yunchuan <[email protected]>
Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Wu Yunchuan
2023-11-17 14:11:35 +01:00
committed by Felix Fietkau
parent 5539001fe4
commit 48d4133806
7 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -453,7 +453,7 @@ mt7615_mcu_scan_event(struct mt7615_dev *dev, struct sk_buff *skb)
else
mphy = &dev->mt76.phy;
phy = (struct mt7615_phy *)mphy->priv;
phy = mphy->priv;
spin_lock_bh(&dev->mt76.lock);
__skb_queue_tail(&phy->scan_event_list, skb);
@@ -481,7 +481,7 @@ mt7615_mcu_roc_event(struct mt7615_dev *dev, struct sk_buff *skb)
ieee80211_ready_on_channel(mphy->hw);
phy = (struct mt7615_phy *)mphy->priv;
phy = mphy->priv;
phy->roc_grant = true;
wake_up(&phy->roc_wait);