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_app.c | |
parent | d149ccc9cf85cdf089c1b2189ade111305712b0c (diff) | |
download | linux-048cf48b897bcae9e6fa8b46b6976dab5e710e3c.tar.gz linux-048cf48b897bcae9e6fa8b46b6976dab5e710e3c.tar.bz2 linux-048cf48b897bcae9e6fa8b46b6976dab5e710e3c.zip |
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_app.c')
-rw-r--r-- | net/ipv4/ipvs/ip_vs_app.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/ipvs/ip_vs_app.c b/net/ipv4/ipvs/ip_vs_app.c index 1f1897a1a702..201b8ea3020d 100644 --- a/net/ipv4/ipvs/ip_vs_app.c +++ b/net/ipv4/ipvs/ip_vs_app.c @@ -608,7 +608,7 @@ int ip_vs_skb_replace(struct sk_buff *skb, gfp_t pri, } -int ip_vs_app_init(void) +int __init ip_vs_app_init(void) { /* we will replace it with proc_net_ipvs_create() soon */ proc_net_fops_create(&init_net, "ip_vs_app", 0, &ip_vs_app_fops); |