Commit 9c7c756e authored by kbuild test robot's avatar kbuild test robot Committed by Felix Fietkau

mt76: mt76x02: mt76x02_poll_tx() can be static

Fixes: ec7d2d74760a ("mt76: mt76x02: use napi polling for tx cleanup")
Signed-off-by: default avatarkbuild test robot <lkp@intel.com>
Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
parent d422bb26
...@@ -161,7 +161,7 @@ static void mt76x02_tx_tasklet(unsigned long data) ...@@ -161,7 +161,7 @@ static void mt76x02_tx_tasklet(unsigned long data)
mt76_txq_schedule_all(&dev->mt76); mt76_txq_schedule_all(&dev->mt76);
} }
int mt76x02_poll_tx(struct napi_struct *napi, int budget) static int mt76x02_poll_tx(struct napi_struct *napi, int budget)
{ {
struct mt76x02_dev *dev = container_of(napi, struct mt76x02_dev, tx_napi); struct mt76x02_dev *dev = container_of(napi, struct mt76x02_dev, tx_napi);
int i; int i;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment