diff options
author | stephen hemminger <shemminger@vyatta.com> | 2010-10-19 04:08:33 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-21 07:26:39 -0400 |
commit | ff51bf841587c75b58d25ed77263158619784dd3 (patch) | |
tree | 85d415536b84c48afe2aea0243f420ac262e1bbd /net/rds/iw.h | |
parent | d0c2b0d265a0f1f92922a99a31def9da582197ac (diff) |
rds: make local functions/variables static
The RDS protocol has lots of functions that should be
declared static. rds_message_get/add_version_extension is
removed since it defined but never used.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rds/iw.h')
-rw-r--r-- | net/rds/iw.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/net/rds/iw.h b/net/rds/iw.h index 543e665fafe..90151922178 100644 --- a/net/rds/iw.h +++ b/net/rds/iw.h | |||
@@ -268,8 +268,6 @@ static inline u32 rds_iw_local_dma_lkey(struct rds_iw_connection *ic) | |||
268 | 268 | ||
269 | /* ib.c */ | 269 | /* ib.c */ |
270 | extern struct rds_transport rds_iw_transport; | 270 | extern struct rds_transport rds_iw_transport; |
271 | extern void rds_iw_add_one(struct ib_device *device); | ||
272 | extern void rds_iw_remove_one(struct ib_device *device); | ||
273 | extern struct ib_client rds_iw_client; | 271 | extern struct ib_client rds_iw_client; |
274 | 272 | ||
275 | extern unsigned int fastreg_pool_size; | 273 | extern unsigned int fastreg_pool_size; |
@@ -318,7 +316,6 @@ void *rds_iw_get_mr(struct scatterlist *sg, unsigned long nents, | |||
318 | void rds_iw_sync_mr(void *trans_private, int dir); | 316 | void rds_iw_sync_mr(void *trans_private, int dir); |
319 | void rds_iw_free_mr(void *trans_private, int invalidate); | 317 | void rds_iw_free_mr(void *trans_private, int invalidate); |
320 | void rds_iw_flush_mrs(void); | 318 | void rds_iw_flush_mrs(void); |
321 | void rds_iw_remove_cm_id(struct rds_iw_device *rds_iwdev, struct rdma_cm_id *cm_id); | ||
322 | 319 | ||
323 | /* ib_recv.c */ | 320 | /* ib_recv.c */ |
324 | int rds_iw_recv_init(void); | 321 | int rds_iw_recv_init(void); |
@@ -378,7 +375,6 @@ extern unsigned long rds_iw_sysctl_max_unsig_wrs; | |||
378 | extern unsigned long rds_iw_sysctl_max_unsig_bytes; | 375 | extern unsigned long rds_iw_sysctl_max_unsig_bytes; |
379 | extern unsigned long rds_iw_sysctl_max_recv_allocation; | 376 | extern unsigned long rds_iw_sysctl_max_recv_allocation; |
380 | extern unsigned int rds_iw_sysctl_flow_control; | 377 | extern unsigned int rds_iw_sysctl_flow_control; |
381 | extern ctl_table rds_iw_sysctl_table[]; | ||
382 | 378 | ||
383 | /* | 379 | /* |
384 | * Helper functions for getting/setting the header and data SGEs in | 380 | * Helper functions for getting/setting the header and data SGEs in |