diff options
author | kbuild test robot <lkp@intel.com> | 2019-04-29 22:25:55 +0300 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2019-05-01 14:04:00 +0300 |
commit | 9c7c756eb06603e657b42652a204b30581522ed1 (patch) | |
tree | 6f27ed31cba03325f2be404f183a03e9b5dd5004 /drivers/net/wireless/mediatek | |
parent | d422bb261733f469ca98183b937b63366283263a (diff) | |
download | linux-9c7c756eb06603e657b42652a204b30581522ed1.tar.xz |
mt76: mt76x02: mt76x02_poll_tx() can be static
Fixes: ec7d2d74760a ("mt76: mt76x02: use napi polling for tx cleanup")
Signed-off-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c b/drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c index 235ae9756aa0..c834acce2af4 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c +++ b/drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c @@ -161,7 +161,7 @@ static void mt76x02_tx_tasklet(unsigned long data) 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); int i; |