l2tp: make local function static
Also moved the refcound inlines from l2tp_core.h to l2tp_core.c since only used in that one file. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Acked-by: James Chapman <jchapman@katalix.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
9740d78604
commit
fc130840d7
@@ -576,7 +576,7 @@ out:
|
||||
return copied;
|
||||
}
|
||||
|
||||
struct proto l2tp_ip_prot = {
|
||||
static struct proto l2tp_ip_prot = {
|
||||
.name = "L2TP/IP",
|
||||
.owner = THIS_MODULE,
|
||||
.init = l2tp_ip_open,
|
||||
|
||||
Reference in New Issue
Block a user