summaryrefslogtreecommitdiffstats
path: root/net/rds/stats.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/stats.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/stats.c')
-rw-r--r--net/rds/stats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rds/stats.c b/net/rds/stats.c
index 344929a663e5..10c759ccac0c 100644
--- a/net/rds/stats.c
+++ b/net/rds/stats.c
@@ -143,7 +143,7 @@ void rds_stats_exit(void)
rds_info_deregister_func(RDS_INFO_COUNTERS, rds_stats_info);
}
-int __init rds_stats_init(void)
+int rds_stats_init(void)
{
rds_info_register_func(RDS_INFO_COUNTERS, rds_stats_info);
return 0;