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/ib.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/ib.h')
-rw-r--r-- | net/rds/ib.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net/rds/ib.h b/net/rds/ib.h index fd4ea69d2443..acda2dbc6576 100644 --- a/net/rds/ib.h +++ b/net/rds/ib.h | |||
@@ -282,7 +282,7 @@ void rds_ib_conn_free(void *arg); | |||
282 | int rds_ib_conn_connect(struct rds_connection *conn); | 282 | int rds_ib_conn_connect(struct rds_connection *conn); |
283 | void rds_ib_conn_shutdown(struct rds_connection *conn); | 283 | void rds_ib_conn_shutdown(struct rds_connection *conn); |
284 | void rds_ib_state_change(struct sock *sk); | 284 | void rds_ib_state_change(struct sock *sk); |
285 | int __init rds_ib_listen_init(void); | 285 | int rds_ib_listen_init(void); |
286 | void rds_ib_listen_stop(void); | 286 | void rds_ib_listen_stop(void); |
287 | void __rds_ib_conn_error(struct rds_connection *conn, const char *, ...); | 287 | void __rds_ib_conn_error(struct rds_connection *conn, const char *, ...); |
288 | int rds_ib_cm_handle_connect(struct rdma_cm_id *cm_id, | 288 | int rds_ib_cm_handle_connect(struct rdma_cm_id *cm_id, |
@@ -308,11 +308,11 @@ void *rds_ib_get_mr(struct scatterlist *sg, unsigned long nents, | |||
308 | void rds_ib_sync_mr(void *trans_private, int dir); | 308 | void rds_ib_sync_mr(void *trans_private, int dir); |
309 | void rds_ib_free_mr(void *trans_private, int invalidate); | 309 | void rds_ib_free_mr(void *trans_private, int invalidate); |
310 | void rds_ib_flush_mrs(void); | 310 | void rds_ib_flush_mrs(void); |
311 | int __init rds_ib_fmr_init(void); | 311 | int rds_ib_fmr_init(void); |
312 | void __exit rds_ib_fmr_exit(void); | 312 | void rds_ib_fmr_exit(void); |
313 | 313 | ||
314 | /* ib_recv.c */ | 314 | /* ib_recv.c */ |
315 | int __init rds_ib_recv_init(void); | 315 | int rds_ib_recv_init(void); |
316 | void rds_ib_recv_exit(void); | 316 | void rds_ib_recv_exit(void); |
317 | int rds_ib_recv(struct rds_connection *conn); | 317 | int rds_ib_recv(struct rds_connection *conn); |
318 | int rds_ib_recv_alloc_caches(struct rds_ib_connection *ic); | 318 | int rds_ib_recv_alloc_caches(struct rds_ib_connection *ic); |
@@ -363,7 +363,7 @@ unsigned int rds_ib_stats_info_copy(struct rds_info_iterator *iter, | |||
363 | unsigned int avail); | 363 | unsigned int avail); |
364 | 364 | ||
365 | /* ib_sysctl.c */ | 365 | /* ib_sysctl.c */ |
366 | int __init rds_ib_sysctl_init(void); | 366 | int rds_ib_sysctl_init(void); |
367 | void rds_ib_sysctl_exit(void); | 367 | void rds_ib_sysctl_exit(void); |
368 | extern unsigned long rds_ib_sysctl_max_send_wr; | 368 | extern unsigned long rds_ib_sysctl_max_send_wr; |
369 | extern unsigned long rds_ib_sysctl_max_recv_wr; | 369 | extern unsigned long rds_ib_sysctl_max_recv_wr; |