diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-08-26 23:06:49 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-22 18:18:22 -0400 |
commit | bed53ea7fef37820b7c92ad74feff1b817c6aae3 (patch) | |
tree | 6cacd897edc7a0308d89c2d239d75df5f8624277 /net/ipv4 | |
parent | 25030a7f9eeab2dcefff036469e0e2b4f956198f (diff) |
[UDP]: Mark udp_port_rover static.
It is not referenced outside of net/ipv4/udp.c any longer.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
-rw-r--r-- | net/ipv4/udp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c index 7552b50bcd84..aa1823050b00 100644 --- a/net/ipv4/udp.c +++ b/net/ipv4/udp.c | |||
@@ -118,8 +118,7 @@ DEFINE_SNMP_STAT(struct udp_mib, udp_statistics) __read_mostly; | |||
118 | struct hlist_head udp_hash[UDP_HTABLE_SIZE]; | 118 | struct hlist_head udp_hash[UDP_HTABLE_SIZE]; |
119 | DEFINE_RWLOCK(udp_hash_lock); | 119 | DEFINE_RWLOCK(udp_hash_lock); |
120 | 120 | ||
121 | /* Shared by v4/v6 udp_get_port */ | 121 | static int udp_port_rover; |
122 | int udp_port_rover; | ||
123 | 122 | ||
124 | static inline int udp_lport_inuse(u16 num) | 123 | static inline int udp_lport_inuse(u16 num) |
125 | { | 124 | { |