projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25030a7
)
[UDP]: Mark udp_port_rover static.
author
David S. Miller
<davem@sunset.davemloft.net>
Sun, 27 Aug 2006 03:06:49 +0000
(20:06 -0700)
committer
David S. Miller
<davem@sunset.davemloft.net>
Fri, 22 Sep 2006 22:18:22 +0000
(15:18 -0700)
It is not referenced outside of net/ipv4/udp.c any longer.
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/udp.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv4/udp.c
b/net/ipv4/udp.c
index 7552b50bcd8425a51abb3c875f246feb463ad173..aa1823050b00c6306d78e3196363a0a8e1891b37 100644
(file)
--- a/
net/ipv4/udp.c
+++ b/
net/ipv4/udp.c
@@
-118,8
+118,7
@@
DEFINE_SNMP_STAT(struct udp_mib, udp_statistics) __read_mostly;
struct hlist_head udp_hash[UDP_HTABLE_SIZE];
DEFINE_RWLOCK(udp_hash_lock);
-/* Shared by v4/v6 udp_get_port */
-int udp_port_rover;
+static int udp_port_rover;
static inline int udp_lport_inuse(u16 num)
{