diff options
author | Hal Rosenstock <halr@voltaire.com> | 2005-07-27 14:45:20 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-27 19:26:09 -0400 |
commit | c183a4c33528d17cde0dcb093ae4248d8cb8f649 (patch) | |
tree | 57d07087c9a99d6002529b956719853008a9acdd /drivers/infiniband/include/ib_fmr_pool.h | |
parent | 896e5518da74f9d20db8163526014fba16b1f2b4 (diff) |
[PATCH] IB: Update FMR functions
Change some functions to return void rather than an int since they are always
returning 0, thus making checking return values rather pointless.
Signed-off-by: Tom Duffy <tduffy@sun.com>
Signed-off-by: Libor Michalek <libor@topspin.com>
Signed-off-by: Hal Rosenstock <halr@voltaire.com>
Cc: Roland Dreier <rolandd@cisco.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/infiniband/include/ib_fmr_pool.h')
-rw-r--r-- | drivers/infiniband/include/ib_fmr_pool.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/infiniband/include/ib_fmr_pool.h b/drivers/infiniband/include/ib_fmr_pool.h index e8769657cbbb..6c9e24d6e144 100644 --- a/drivers/infiniband/include/ib_fmr_pool.h +++ b/drivers/infiniband/include/ib_fmr_pool.h | |||
@@ -1,5 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2004 Topspin Corporation. All rights reserved. | 2 | * Copyright (c) 2004 Topspin Corporation. All rights reserved. |
3 | * Copyright (c) 2005 Sun Microsystems, Inc. All rights reserved. | ||
3 | * | 4 | * |
4 | * This software is available to you under a choice of one of two | 5 | * This software is available to you under a choice of one of two |
5 | * licenses. You may choose to be licensed under the terms of the GNU | 6 | * licenses. You may choose to be licensed under the terms of the GNU |
@@ -29,7 +30,7 @@ | |||
29 | * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | 30 | * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
30 | * SOFTWARE. | 31 | * SOFTWARE. |
31 | * | 32 | * |
32 | * $Id: ib_fmr_pool.h 1349 2004-12-16 21:09:43Z roland $ | 33 | * $Id: ib_fmr_pool.h 2730 2005-06-28 16:43:03Z sean.hefty $ |
33 | */ | 34 | */ |
34 | 35 | ||
35 | #if !defined(IB_FMR_POOL_H) | 36 | #if !defined(IB_FMR_POOL_H) |
@@ -78,7 +79,7 @@ struct ib_pool_fmr { | |||
78 | struct ib_fmr_pool *ib_create_fmr_pool(struct ib_pd *pd, | 79 | struct ib_fmr_pool *ib_create_fmr_pool(struct ib_pd *pd, |
79 | struct ib_fmr_pool_param *params); | 80 | struct ib_fmr_pool_param *params); |
80 | 81 | ||
81 | int ib_destroy_fmr_pool(struct ib_fmr_pool *pool); | 82 | void ib_destroy_fmr_pool(struct ib_fmr_pool *pool); |
82 | 83 | ||
83 | int ib_flush_fmr_pool(struct ib_fmr_pool *pool); | 84 | int ib_flush_fmr_pool(struct ib_fmr_pool *pool); |
84 | 85 | ||