diff options
author | Adrian Bunk <bunk@stusta.de> | 2007-07-14 22:00:59 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-07-14 22:00:59 -0400 |
commit | acd159b6b5828175be6b9ccccd9b054239ec63e9 (patch) | |
tree | bf0af1a1700a114f489bce36a85f8b0947287268 /net/ipv4/inet_timewait_sock.c | |
parent | cf3842ec5015c862f4869e3641a8549393bb958e (diff) |
[INET_SOCK]: make net/ipv4/inet_timewait_sock.c:__inet_twsk_kill() static
This patch makes the needlessly global __inet_twsk_kill() static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/inet_timewait_sock.c')
-rw-r--r-- | net/ipv4/inet_timewait_sock.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/net/ipv4/inet_timewait_sock.c b/net/ipv4/inet_timewait_sock.c index a73cf93cee36..2586df09b9b6 100644 --- a/net/ipv4/inet_timewait_sock.c +++ b/net/ipv4/inet_timewait_sock.c | |||
@@ -14,7 +14,8 @@ | |||
14 | #include <net/ip.h> | 14 | #include <net/ip.h> |
15 | 15 | ||
16 | /* Must be called with locally disabled BHs. */ | 16 | /* Must be called with locally disabled BHs. */ |
17 | void __inet_twsk_kill(struct inet_timewait_sock *tw, struct inet_hashinfo *hashinfo) | 17 | static void __inet_twsk_kill(struct inet_timewait_sock *tw, |
18 | struct inet_hashinfo *hashinfo) | ||
18 | { | 19 | { |
19 | struct inet_bind_hashbucket *bhead; | 20 | struct inet_bind_hashbucket *bhead; |
20 | struct inet_bind_bucket *tb; | 21 | struct inet_bind_bucket *tb; |
@@ -47,8 +48,6 @@ void __inet_twsk_kill(struct inet_timewait_sock *tw, struct inet_hashinfo *hashi | |||
47 | inet_twsk_put(tw); | 48 | inet_twsk_put(tw); |
48 | } | 49 | } |
49 | 50 | ||
50 | EXPORT_SYMBOL_GPL(__inet_twsk_kill); | ||
51 | |||
52 | /* | 51 | /* |
53 | * Enter the time wait state. This is called with locally disabled BH. | 52 | * Enter the time wait state. This is called with locally disabled BH. |
54 | * Essentially we whip up a timewait bucket, copy the relevant info into it | 53 | * Essentially we whip up a timewait bucket, copy the relevant info into it |