projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
280a34c
)
[IPV4]: Make icmp_sk_init() static.
author
Adrian Bunk
<bunk@kernel.org>
Mon, 21 Apr 2008 09:31:23 +0000
(
02:31
-0700)
committer
David S. Miller
<davem@davemloft.net>
Mon, 21 Apr 2008 09:31:23 +0000
(
02:31
-0700)
This patch makes the needlessly global icmp_sk_init() static.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/icmp.c
patch
|
blob
|
history
diff --git
a/net/ipv4/icmp.c
b/net/ipv4/icmp.c
index f064031f2031468c3563e9b1720313e625abc160..fee171ec658861c81b332283c9eb4d7b85421ec6 100644
(file)
--- a/
net/ipv4/icmp.c
+++ b/
net/ipv4/icmp.c
@@
-1144,7
+1144,7
@@
static void __net_exit icmp_sk_exit(struct net *net)
net->ipv4.icmp_sk = NULL;
}
-int __net_init icmp_sk_init(struct net *net)
+
static
int __net_init icmp_sk_init(struct net *net)
{
int i, err;