mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-02 08:34:20 +08:00
net: napi_frags_skb() is static
No need to export napi_frags_skb() Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
968d70184d
commit
4adb9c4ac8
@ -2142,7 +2142,6 @@ extern struct sk_buff * napi_get_frags(struct napi_struct *napi);
|
||||
extern gro_result_t napi_frags_finish(struct napi_struct *napi,
|
||||
struct sk_buff *skb,
|
||||
gro_result_t ret);
|
||||
extern struct sk_buff * napi_frags_skb(struct napi_struct *napi);
|
||||
extern gro_result_t napi_gro_frags(struct napi_struct *napi);
|
||||
|
||||
static inline void napi_free_frags(struct napi_struct *napi)
|
||||
|
@ -3602,7 +3602,7 @@ gro_result_t napi_frags_finish(struct napi_struct *napi, struct sk_buff *skb,
|
||||
}
|
||||
EXPORT_SYMBOL(napi_frags_finish);
|
||||
|
||||
struct sk_buff *napi_frags_skb(struct napi_struct *napi)
|
||||
static struct sk_buff *napi_frags_skb(struct napi_struct *napi)
|
||||
{
|
||||
struct sk_buff *skb = napi->skb;
|
||||
struct ethhdr *eth;
|
||||
@ -3637,7 +3637,6 @@ struct sk_buff *napi_frags_skb(struct napi_struct *napi)
|
||||
out:
|
||||
return skb;
|
||||
}
|
||||
EXPORT_SYMBOL(napi_frags_skb);
|
||||
|
||||
gro_result_t napi_gro_frags(struct napi_struct *napi)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user