summaryrefslogtreecommitdiffstats
path: root/net/ipv4/inet_timewait_sock.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2007-07-14 19:00:59 -0700
committerDavid S. Miller <davem@davemloft.net>2007-07-14 19:00:59 -0700
commitacd159b6b5828175be6b9ccccd9b054239ec63e9 (patch)
treebf0af1a1700a114f489bce36a85f8b0947287268 /net/ipv4/inet_timewait_sock.c
parentcf3842ec5015c862f4869e3641a8549393bb958e (diff)
downloadlinux-stable-acd159b6b5828175be6b9ccccd9b054239ec63e9.tar.gz
linux-stable-acd159b6b5828175be6b9ccccd9b054239ec63e9.tar.bz2
linux-stable-acd159b6b5828175be6b9ccccd9b054239ec63e9.zip
[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.c5
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 @@
#include <net/ip.h>
/* Must be called with locally disabled BHs. */
-void __inet_twsk_kill(struct inet_timewait_sock *tw, struct inet_hashinfo *hashinfo)
+static void __inet_twsk_kill(struct inet_timewait_sock *tw,
+ struct inet_hashinfo *hashinfo)
{
struct inet_bind_hashbucket *bhead;
struct inet_bind_bucket *tb;
@@ -47,8 +48,6 @@ void __inet_twsk_kill(struct inet_timewait_sock *tw, struct inet_hashinfo *hashi
inet_twsk_put(tw);
}
-EXPORT_SYMBOL_GPL(__inet_twsk_kill);
-
/*
* Enter the time wait state. This is called with locally disabled BH.
* Essentially we whip up a timewait bucket, copy the relevant info into it