diff options
author | Sven Wegener <sven.wegener@stealer.net> | 2008-08-10 18:24:35 +0000 |
---|---|---|
committer | Sven Wegener <sven.wegener@stealer.net> | 2008-08-11 11:46:18 +0200 |
commit | 048cf48b897bcae9e6fa8b46b6976dab5e710e3c (patch) | |
tree | 444c1c2164892286d1d3005f0ec1d0c44dd9d58f /net/ipv4/ipvs/ip_vs_ctl.c | |
parent | d149ccc9cf85cdf089c1b2189ade111305712b0c (diff) | |
download | op-kernel-dev-048cf48b897bcae9e6fa8b46b6976dab5e710e3c.zip op-kernel-dev-048cf48b897bcae9e6fa8b46b6976dab5e710e3c.tar.gz |
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_ctl.c')
-rw-r--r-- | net/ipv4/ipvs/ip_vs_ctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/ipvs/ip_vs_ctl.c b/net/ipv4/ipvs/ip_vs_ctl.c index 9a5ace0..df133338 100644 --- a/net/ipv4/ipvs/ip_vs_ctl.c +++ b/net/ipv4/ipvs/ip_vs_ctl.c @@ -2306,7 +2306,7 @@ static struct nf_sockopt_ops ip_vs_sockopts = { }; -int ip_vs_control_init(void) +int __init ip_vs_control_init(void) { int ret; int idx; |