mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
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:
committed by
Felix Fietkau
parent
5a79f17160
commit
88ece3204b
+1
-2
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user