diff options
Diffstat (limited to 'net/rds/ib.c')
-rw-r--r-- | net/rds/ib.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/net/rds/ib.c b/net/rds/ib.c index 91fe46f1e4cc..7a64c8db81ab 100644 --- a/net/rds/ib.c +++ b/net/rds/ib.c | |||
@@ -45,8 +45,8 @@ | |||
45 | #include "ib.h" | 45 | #include "ib.h" |
46 | #include "ib_mr.h" | 46 | #include "ib_mr.h" |
47 | 47 | ||
48 | unsigned int rds_ib_mr_1m_pool_size = RDS_MR_1M_POOL_SIZE; | 48 | static unsigned int rds_ib_mr_1m_pool_size = RDS_MR_1M_POOL_SIZE; |
49 | unsigned int rds_ib_mr_8k_pool_size = RDS_MR_8K_POOL_SIZE; | 49 | static unsigned int rds_ib_mr_8k_pool_size = RDS_MR_8K_POOL_SIZE; |
50 | unsigned int rds_ib_retry_count = RDS_IB_DEFAULT_RETRY_COUNT; | 50 | unsigned int rds_ib_retry_count = RDS_IB_DEFAULT_RETRY_COUNT; |
51 | 51 | ||
52 | module_param(rds_ib_mr_1m_pool_size, int, 0444); | 52 | module_param(rds_ib_mr_1m_pool_size, int, 0444); |
@@ -438,16 +438,12 @@ int rds_ib_init(void) | |||
438 | if (ret) | 438 | if (ret) |
439 | goto out_sysctl; | 439 | goto out_sysctl; |
440 | 440 | ||
441 | ret = rds_trans_register(&rds_ib_transport); | 441 | rds_trans_register(&rds_ib_transport); |
442 | if (ret) | ||
443 | goto out_recv; | ||
444 | 442 | ||
445 | rds_info_register_func(RDS_INFO_IB_CONNECTIONS, rds_ib_ic_info); | 443 | rds_info_register_func(RDS_INFO_IB_CONNECTIONS, rds_ib_ic_info); |
446 | 444 | ||
447 | goto out; | 445 | goto out; |
448 | 446 | ||
449 | out_recv: | ||
450 | rds_ib_recv_exit(); | ||
451 | out_sysctl: | 447 | out_sysctl: |
452 | rds_ib_sysctl_exit(); | 448 | rds_ib_sysctl_exit(); |
453 | out_ibreg: | 449 | out_ibreg: |