mt76x02: add static qualifier to mt76x02_remove_dma_hdr

Add static qualifier to mt76x02_remove_dma_hdr routine and
do not export the symbol since it is only used in mt76x02_util.c

Signed-off-by: Lorenzo Bianconi <[email protected]>
This commit is contained in:
Lorenzo Bianconi
2018-09-12 13:16:50 +02:00
committed by Felix Fietkau
parent 5a79f17160
commit 88ece3204b
2 changed files with 1 additions and 3 deletions
+1 -2
View File
@@ -407,7 +407,7 @@ void mt76x02_remove_hdr_pad(struct sk_buff *skb, int len)
}
EXPORT_SYMBOL_GPL(mt76x02_remove_hdr_pad);
void mt76x02_remove_dma_hdr(struct sk_buff *skb)
static void mt76x02_remove_dma_hdr(struct sk_buff *skb)
{
int hdr_len;
@@ -416,7 +416,6 @@ void mt76x02_remove_dma_hdr(struct sk_buff *skb)
if (hdr_len % 4)
mt76x02_remove_hdr_pad(skb, 2);
}
EXPORT_SYMBOL_GPL(mt76x02_remove_dma_hdr);
void mt76x02_tx_complete(struct mt76_dev *dev, struct sk_buff *skb)
{