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,
|
extern gro_result_t napi_frags_finish(struct napi_struct *napi,
|
||||||
struct sk_buff *skb,
|
struct sk_buff *skb,
|
||||||
gro_result_t ret);
|
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);
|
extern gro_result_t napi_gro_frags(struct napi_struct *napi);
|
||||||
|
|
||||||
static inline void napi_free_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);
|
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 sk_buff *skb = napi->skb;
|
||||||
struct ethhdr *eth;
|
struct ethhdr *eth;
|
||||||
|
@ -3637,7 +3637,6 @@ struct sk_buff *napi_frags_skb(struct napi_struct *napi)
|
||||||
out:
|
out:
|
||||||
return skb;
|
return skb;
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL(napi_frags_skb);
|
|
||||||
|
|
||||||
gro_result_t napi_gro_frags(struct napi_struct *napi)
|
gro_result_t napi_gro_frags(struct napi_struct *napi)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue