diff options
author | Zach Brown <zach.brown@oracle.com> | 2010-07-09 15:26:20 -0400 |
---|---|---|
committer | Andy Grover <andy.grover@oracle.com> | 2010-09-08 21:16:39 -0400 |
commit | ef87b7ea39a91906218a262686bcb8bad8b6b46e (patch) | |
tree | 4fe72c5b5f788d8109e715012ce2af57bba807d7 /net/rds/rds.h | |
parent | c20f5b9633bb0953bd2422f0f1430a2028cdbd0a (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/rds.h')
-rw-r--r-- | net/rds/rds.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net/rds/rds.h b/net/rds/rds.h index 4510344ce8ca..8a8a4822d02a 100644 --- a/net/rds/rds.h +++ b/net/rds/rds.h | |||
@@ -606,7 +606,7 @@ void rds_cong_exit(void); | |||
606 | struct rds_message *rds_cong_update_alloc(struct rds_connection *conn); | 606 | struct rds_message *rds_cong_update_alloc(struct rds_connection *conn); |
607 | 607 | ||
608 | /* conn.c */ | 608 | /* conn.c */ |
609 | int __init rds_conn_init(void); | 609 | int rds_conn_init(void); |
610 | void rds_conn_exit(void); | 610 | void rds_conn_exit(void); |
611 | struct rds_connection *rds_conn_create(__be32 laddr, __be32 faddr, | 611 | struct rds_connection *rds_conn_create(__be32 laddr, __be32 faddr, |
612 | struct rds_transport *trans, gfp_t gfp); | 612 | struct rds_transport *trans, gfp_t gfp); |
@@ -769,14 +769,14 @@ DECLARE_PER_CPU_SHARED_ALIGNED(struct rds_statistics, rds_stats); | |||
769 | put_cpu(); \ | 769 | put_cpu(); \ |
770 | } while (0) | 770 | } while (0) |
771 | #define rds_stats_add(member, count) rds_stats_add_which(rds_stats, member, count) | 771 | #define rds_stats_add(member, count) rds_stats_add_which(rds_stats, member, count) |
772 | int __init rds_stats_init(void); | 772 | int rds_stats_init(void); |
773 | void rds_stats_exit(void); | 773 | void rds_stats_exit(void); |
774 | void rds_stats_info_copy(struct rds_info_iterator *iter, | 774 | void rds_stats_info_copy(struct rds_info_iterator *iter, |
775 | uint64_t *values, const char *const *names, | 775 | uint64_t *values, const char *const *names, |
776 | size_t nr); | 776 | size_t nr); |
777 | 777 | ||
778 | /* sysctl.c */ | 778 | /* sysctl.c */ |
779 | int __init rds_sysctl_init(void); | 779 | int rds_sysctl_init(void); |
780 | void rds_sysctl_exit(void); | 780 | void rds_sysctl_exit(void); |
781 | extern unsigned long rds_sysctl_sndbuf_min; | 781 | extern unsigned long rds_sysctl_sndbuf_min; |
782 | extern unsigned long rds_sysctl_sndbuf_default; | 782 | extern unsigned long rds_sysctl_sndbuf_default; |
@@ -790,7 +790,7 @@ extern unsigned long rds_sysctl_trace_flags; | |||
790 | extern unsigned int rds_sysctl_trace_level; | 790 | extern unsigned int rds_sysctl_trace_level; |
791 | 791 | ||
792 | /* threads.c */ | 792 | /* threads.c */ |
793 | int __init rds_threads_init(void); | 793 | int rds_threads_init(void); |
794 | void rds_threads_exit(void); | 794 | void rds_threads_exit(void); |
795 | extern struct workqueue_struct *rds_wq; | 795 | extern struct workqueue_struct *rds_wq; |
796 | void rds_queue_reconnect(struct rds_connection *conn); | 796 | void rds_queue_reconnect(struct rds_connection *conn); |
@@ -806,7 +806,7 @@ void rds_trans_unregister(struct rds_transport *trans); | |||
806 | struct rds_transport *rds_trans_get_preferred(__be32 addr); | 806 | struct rds_transport *rds_trans_get_preferred(__be32 addr); |
807 | unsigned int rds_trans_stats_info_copy(struct rds_info_iterator *iter, | 807 | unsigned int rds_trans_stats_info_copy(struct rds_info_iterator *iter, |
808 | unsigned int avail); | 808 | unsigned int avail); |
809 | int __init rds_trans_init(void); | 809 | int rds_trans_init(void); |
810 | void rds_trans_exit(void); | 810 | void rds_trans_exit(void); |
811 | 811 | ||
812 | #endif | 812 | #endif |