aboutsummaryrefslogtreecommitdiffstats
path: root/net/rds/af_rds.c
diff options
context:
space:
mode:
authorZach Brown <zach.brown@oracle.com>2010-07-09 15:26:20 -0400
committerAndy Grover <andy.grover@oracle.com>2010-09-08 21:16:39 -0400
commitef87b7ea39a91906218a262686bcb8bad8b6b46e (patch)
tree4fe72c5b5f788d8109e715012ce2af57bba807d7 /net/rds/af_rds.c
parentc20f5b9633bb0953bd2422f0f1430a2028cdbd0a (diff)
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:
521 spin_unlock_irqrestore(&rds_sock_lock, flags); 521 spin_unlock_irqrestore(&rds_sock_lock, flags);
522} 522}
523 523
524static void __exit rds_exit(void) 524static void rds_exit(void)
525{ 525{
526 sock_unregister(rds_family_ops.family); 526 sock_unregister(rds_family_ops.family);
527 proto_unregister(&rds_proto); 527 proto_unregister(&rds_proto);
@@ -536,7 +536,7 @@ static void __exit rds_exit(void)
536} 536}
537module_exit(rds_exit); 537module_exit(rds_exit);
538 538
539static int __init rds_init(void) 539static int rds_init(void)
540{ 540{
541 int ret; 541 int ret;
542 542