diff options
author | Guillaume Nault <g.nault@alphalink.fr> | 2018-06-25 17:07:22 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-06-26 16:55:51 +0300 |
commit | 2e67560ef6c53dae273b7c5c47a2ab4fb1ba9b30 (patch) | |
tree | ffa7b4526c5a40d67601ddb0c12ccab6d4d9f5fb /net/l2tp/l2tp_core.c | |
parent | e484b1c227b6c661eba8ae424b271ed5b420ae4a (diff) | |
download | linux-2e67560ef6c53dae273b7c5c47a2ab4fb1ba9b30.tar.xz |
l2tp: don't export l2tp_session_queue_purge()
This function is only used in l2tp_core.c.
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/l2tp/l2tp_core.c')
-rw-r--r-- | net/l2tp/l2tp_core.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/l2tp/l2tp_core.c b/net/l2tp/l2tp_core.c index 40261cb68e83..3adef4c35a3a 100644 --- a/net/l2tp/l2tp_core.c +++ b/net/l2tp/l2tp_core.c @@ -783,7 +783,7 @@ EXPORT_SYMBOL(l2tp_recv_common); /* Drop skbs from the session's reorder_q */ -int l2tp_session_queue_purge(struct l2tp_session *session) +static int l2tp_session_queue_purge(struct l2tp_session *session) { struct sk_buff *skb = NULL; BUG_ON(!session); @@ -794,7 +794,6 @@ int l2tp_session_queue_purge(struct l2tp_session *session) } return 0; } -EXPORT_SYMBOL_GPL(l2tp_session_queue_purge); /* Internal UDP receive frame. Do the real work of receiving an L2TP data frame * here. The skb is not on a list when we get here. |