summaryrefslogtreecommitdiff
path: root/net/ipv4/ipvs/ip_vs_conn.c
diff options
context:
space:
mode:
authorSven Wegener <sven.wegener@stealer.net>2008-08-10 18:24:35 +0000
committerSven Wegener <sven.wegener@stealer.net>2008-08-11 11:46:18 +0200
commit048cf48b897bcae9e6fa8b46b6976dab5e710e3c (patch)
tree444c1c2164892286d1d3005f0ec1d0c44dd9d58f /net/ipv4/ipvs/ip_vs_conn.c
parentd149ccc9cf85cdf089c1b2189ade111305712b0c (diff)
ipvs: Annotate init functions with __init
Being able to discard these functions saves a couple of bytes at runtime. The cleanup functions can't be annotated with __exit as they are also called from init functions. Signed-off-by: Sven Wegener <sven.wegener@stealer.net> Acked-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'net/ipv4/ipvs/ip_vs_conn.c')
-rw-r--r--net/ipv4/ipvs/ip_vs_conn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/ipvs/ip_vs_conn.c b/net/ipv4/ipvs/ip_vs_conn.c
index f8bdae47a77..44a6872dc24 100644
--- a/net/ipv4/ipvs/ip_vs_conn.c
+++ b/net/ipv4/ipvs/ip_vs_conn.c
@@ -965,7 +965,7 @@ static void ip_vs_conn_flush(void)
}
-int ip_vs_conn_init(void)
+int __init ip_vs_conn_init(void)
{
int idx;