aboutsummaryrefslogtreecommitdiffstats
path: root/net/rds/ib_rdma.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/ib_rdma.c
parentRDS/IB: Use SLAB_HWCACHE_ALIGN flag for kmem_cache_create() (diff)
downloadlinux-dev-ef87b7ea39a91906218a262686bcb8bad8b6b46e.tar.xz
linux-dev-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/ib_rdma.c')
-rw-r--r--net/rds/ib_rdma.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/rds/ib_rdma.c b/net/rds/ib_rdma.c
index 0eb597670c5b..3efdddc39d49 100644
--- a/net/rds/ib_rdma.c
+++ b/net/rds/ib_rdma.c
@@ -693,7 +693,7 @@ out_nolock:
struct workqueue_struct *rds_ib_fmr_wq;
-int __init rds_ib_fmr_init(void)
+int rds_ib_fmr_init(void)
{
rds_ib_fmr_wq = create_workqueue("rds_fmr_flushd");
if (!rds_ib_fmr_wq)
@@ -706,7 +706,7 @@ int __init rds_ib_fmr_init(void)
* had their pools freed. As each pool is freed its work struct is waited on,
* so the pool flushing work queue should be idle by the time we get here.
*/
-void __exit rds_ib_fmr_exit(void)
+void rds_ib_fmr_exit(void)
{
destroy_workqueue(rds_ib_fmr_wq);
}