diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2023-06-22 18:50:20 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2023-07-25 21:59:42 +0200 |
commit | 57a3fac664ce192359271d7f6ddf1d55dff80cbc (patch) | |
tree | bd2fbdeab30858fbd3c8927f88e53c69d1b7c908 /drivers/net/wireless/mediatek/mt76/mt7615/init.c | |
parent | wifi: mt76: mt7603: rely on shared sta_poll_list and sta_poll_lock (diff) | |
download | linux-57a3fac664ce192359271d7f6ddf1d55dff80cbc.tar.xz linux-57a3fac664ce192359271d7f6ddf1d55dff80cbc.zip |
wifi: mt76: mt7615: rely on shared sta_poll_list and sta_poll_lock
Rely on sta_poll_list and sta_poll_lock fields in mt76_dev structure
and get rid of private copies.
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt7615/init.c')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt7615/init.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt7615/init.c b/drivers/net/wireless/mediatek/mt76/mt7615/init.c index ab475c841818..18a50ccff106 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7615/init.c +++ b/drivers/net/wireless/mediatek/mt76/mt7615/init.c @@ -628,8 +628,6 @@ void mt7615_init_device(struct mt7615_dev *dev) INIT_DELAYED_WORK(&dev->coredump.work, mt7615_coredump_work); skb_queue_head_init(&dev->phy.scan_event_list); skb_queue_head_init(&dev->coredump.msg_list); - INIT_LIST_HEAD(&dev->sta_poll_list); - spin_lock_init(&dev->sta_poll_lock); init_waitqueue_head(&dev->reset_wait); init_waitqueue_head(&dev->phy.roc_wait); |