mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
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:
committed by
Felix Fietkau
parent
5539001fe4
commit
48d4133806
+1
-1
@@ -160,7 +160,7 @@ static void
|
||||
mt7921_mcu_scan_event(struct mt792x_dev *dev, struct sk_buff *skb)
|
||||
{
|
||||
struct mt76_phy *mphy = &dev->mt76.phy;
|
||||
struct mt792x_phy *phy = (struct mt792x_phy *)mphy->priv;
|
||||
struct mt792x_phy *phy = mphy->priv;
|
||||
|
||||
spin_lock_bh(&dev->mt76.lock);
|
||||
__skb_queue_tail(&phy->scan_event_list, skb);
|
||||
|
||||
Reference in New Issue
Block a user