diff options
Diffstat (limited to 'net/rds/ib.c')
| -rw-r--r-- | net/rds/ib.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/net/rds/ib.c b/net/rds/ib.c index 4123967d4d6..cce19f95c62 100644 --- a/net/rds/ib.c +++ b/net/rds/ib.c | |||
| @@ -364,7 +364,6 @@ void rds_ib_exit(void) | |||
| 364 | rds_ib_sysctl_exit(); | 364 | rds_ib_sysctl_exit(); |
| 365 | rds_ib_recv_exit(); | 365 | rds_ib_recv_exit(); |
| 366 | rds_trans_unregister(&rds_ib_transport); | 366 | rds_trans_unregister(&rds_ib_transport); |
| 367 | rds_ib_fmr_exit(); | ||
| 368 | } | 367 | } |
| 369 | 368 | ||
| 370 | struct rds_transport rds_ib_transport = { | 369 | struct rds_transport rds_ib_transport = { |
| @@ -400,13 +399,9 @@ int rds_ib_init(void) | |||
| 400 | 399 | ||
| 401 | INIT_LIST_HEAD(&rds_ib_devices); | 400 | INIT_LIST_HEAD(&rds_ib_devices); |
| 402 | 401 | ||
| 403 | ret = rds_ib_fmr_init(); | ||
| 404 | if (ret) | ||
| 405 | goto out; | ||
| 406 | |||
| 407 | ret = ib_register_client(&rds_ib_client); | 402 | ret = ib_register_client(&rds_ib_client); |
| 408 | if (ret) | 403 | if (ret) |
| 409 | goto out_fmr_exit; | 404 | goto out; |
| 410 | 405 | ||
| 411 | ret = rds_ib_sysctl_init(); | 406 | ret = rds_ib_sysctl_init(); |
| 412 | if (ret) | 407 | if (ret) |
| @@ -430,8 +425,6 @@ out_sysctl: | |||
| 430 | rds_ib_sysctl_exit(); | 425 | rds_ib_sysctl_exit(); |
| 431 | out_ibreg: | 426 | out_ibreg: |
| 432 | rds_ib_unregister_client(); | 427 | rds_ib_unregister_client(); |
| 433 | out_fmr_exit: | ||
| 434 | rds_ib_fmr_exit(); | ||
| 435 | out: | 428 | out: |
| 436 | return ret; | 429 | return ret; |
| 437 | } | 430 | } |
