diff options
author | Felix Fietkau <nbd@nbd.name> | 2019-09-30 21:23:03 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2020-02-14 07:49:59 +0100 |
commit | e54432563b68592867adefa5c3ab4d7e46546e83 (patch) | |
tree | 4f7c43fe622115927b57f52445d1c5d0040ce6b1 /drivers/net/wireless/mediatek/mt76/dma.c | |
parent | aa7619a39acef91c5a6904f3ada7d0f20e2ad25e (diff) | |
download | linux-stable-e54432563b68592867adefa5c3ab4d7e46546e83.tar.gz linux-stable-e54432563b68592867adefa5c3ab4d7e46546e83.tar.bz2 linux-stable-e54432563b68592867adefa5c3ab4d7e46546e83.zip |
mt76: move initialization of some struct members to mt76_alloc_device
Reduces duplication and prepares for further rework
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/dma.c')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/dma.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/dma.c b/drivers/net/wireless/mediatek/mt76/dma.c index 6173c80189ba..eed387b10d48 100644 --- a/drivers/net/wireless/mediatek/mt76/dma.c +++ b/drivers/net/wireless/mediatek/mt76/dma.c @@ -555,7 +555,6 @@ mt76_dma_init(struct mt76_dev *dev) netif_napi_add(&dev->napi_dev, &dev->napi[i], mt76_dma_rx_poll, 64); mt76_dma_rx_fill(dev, &dev->q_rx[i]); - skb_queue_head_init(&dev->rx_skb[i]); napi_enable(&dev->napi[i]); } |