summaryrefslogtreecommitdiffstats
path: root/net/rds/af_rds.c
diff options
context:
space:
mode:
authorZach Brown <zach.brown@oracle.com>2010-07-09 21:26:20 +0200
committerAndy Grover <andy.grover@oracle.com>2010-09-09 03:16:39 +0200
commitef87b7ea39a91906218a262686bcb8bad8b6b46e (patch)
tree4fe72c5b5f788d8109e715012ce2af57bba807d7 /net/rds/af_rds.c
parentRDS/IB: Use SLAB_HWCACHE_ALIGN flag for kmem_cache_create() (diff)
downloadlinux-ef87b7ea39a91906218a262686bcb8bad8b6b46e.tar.xz
linux-ef87b7ea39a91906218a262686bcb8bad8b6b46e.zip
RDS: remove __init and __exit annotation
The trivial amount of memory saved isn't worth the cost of dealing with section mismatches. Signed-off-by: Zach Brown <zach.brown@oracle.com>
Diffstat (limited to 'net/rds/af_rds.c')
-rw-r--r--net/rds/af_rds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/rds/af_rds.c b/net/rds/af_rds.c
index f16d2a92cb89..57ef0ec4f03d 100644
--- a/net/rds/af_rds.c
+++ b/net/rds/af_rds.c
@@ -521,7 +521,7 @@ out:
spin_unlock_irqrestore(&rds_sock_lock, flags);
}
-static void __exit rds_exit(void)
+static void rds_exit(void)
{
sock_unregister(rds_family_ops.family);
proto_unregister(&rds_proto);
@@ -536,7 +536,7 @@ static void __exit rds_exit(void)
}
module_exit(rds_exit);
-static int __init rds_init(void)
+static int rds_init(void)
{
int ret;