summaryrefslogtreecommitdiffstats
path: root/net/rds/af_rds.c
diff options
context:
space:
mode:
authorZach Brown <zach.brown@oracle.com>2010-07-09 12:26:20 -0700
committerAndy Grover <andy.grover@oracle.com>2010-09-08 18:16:39 -0700
commitef87b7ea39a91906218a262686bcb8bad8b6b46e (patch)
tree4fe72c5b5f788d8109e715012ce2af57bba807d7 /net/rds/af_rds.c
parentc20f5b9633bb0953bd2422f0f1430a2028cdbd0a (diff)
downloadlinux-ef87b7ea39a91906218a262686bcb8bad8b6b46e.tar.gz
linux-ef87b7ea39a91906218a262686bcb8bad8b6b46e.tar.bz2
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;