Skip to content

Commit

Permalink
[UDP]: Mark udp_port_rover static.
Browse files Browse the repository at this point in the history
It is not referenced outside of net/ipv4/udp.c any longer.

Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
David S. Miller committed Sep 22, 2006
1 parent 25030a7 commit bed53ea
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions net/ipv4/udp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit bed53ea

Please sign in to comment.