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/ib.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/ib.h')
-rw-r--r-- | net/rds/ib.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/net/rds/ib.h b/net/rds/ib.h index 7ad3d57e06a5..e34ad032b66d 100644 --- a/net/rds/ib.h +++ b/net/rds/ib.h | |||
@@ -265,13 +265,10 @@ static inline void rds_ib_dma_sync_sg_for_device(struct ib_device *dev, | |||
265 | 265 | ||
266 | /* ib.c */ | 266 | /* ib.c */ |
267 | extern struct rds_transport rds_ib_transport; | 267 | extern struct rds_transport rds_ib_transport; |
268 | extern void rds_ib_add_one(struct ib_device *device); | ||
269 | extern void rds_ib_remove_one(struct ib_device *device); | ||
270 | struct rds_ib_device *rds_ib_get_client_data(struct ib_device *device); | 268 | struct rds_ib_device *rds_ib_get_client_data(struct ib_device *device); |
271 | void rds_ib_dev_put(struct rds_ib_device *rds_ibdev); | 269 | void rds_ib_dev_put(struct rds_ib_device *rds_ibdev); |
272 | extern struct ib_client rds_ib_client; | 270 | extern struct ib_client rds_ib_client; |
273 | 271 | ||
274 | extern unsigned int fmr_pool_size; | ||
275 | extern unsigned int fmr_message_size; | 272 | extern unsigned int fmr_message_size; |
276 | extern unsigned int rds_ib_retry_count; | 273 | extern unsigned int rds_ib_retry_count; |
277 | 274 | ||
@@ -374,6 +371,5 @@ extern unsigned long rds_ib_sysctl_max_unsig_wrs; | |||
374 | extern unsigned long rds_ib_sysctl_max_unsig_bytes; | 371 | extern unsigned long rds_ib_sysctl_max_unsig_bytes; |
375 | extern unsigned long rds_ib_sysctl_max_recv_allocation; | 372 | extern unsigned long rds_ib_sysctl_max_recv_allocation; |
376 | extern unsigned int rds_ib_sysctl_flow_control; | 373 | extern unsigned int rds_ib_sysctl_flow_control; |
377 | extern ctl_table rds_ib_sysctl_table[]; | ||
378 | 374 | ||
379 | #endif | 375 | #endif |