diff options
author | Yuval Shaia <yuval.shaia@oracle.com> | 2018-11-21 12:47:02 +0100 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-11-22 00:13:02 +0100 |
commit | 3eeeb7a59acddaa326b03efdf6dce61c120449a3 (patch) | |
tree | 775cb148b0964af364271d63adb689b72df1e0be /include/rdma/ib_fmr_pool.h | |
parent | IB/srpt: Drop pointless static qualifier in srpt_make_tpg() (diff) | |
download | linux-3eeeb7a59acddaa326b03efdf6dce61c120449a3.tar.xz linux-3eeeb7a59acddaa326b03efdf6dce61c120449a3.zip |
IB/core: Make function ib_fmr_pool_unmap return void
Since the function always returns 0 make it void.
Reported-by: HÃ¥kon Bugge <haakon.bugge@oracle.com>
Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Acked-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/rdma/ib_fmr_pool.h')
-rw-r--r-- | include/rdma/ib_fmr_pool.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rdma/ib_fmr_pool.h b/include/rdma/ib_fmr_pool.h index f62b842e6596..f8982e4e9702 100644 --- a/include/rdma/ib_fmr_pool.h +++ b/include/rdma/ib_fmr_pool.h @@ -88,6 +88,6 @@ struct ib_pool_fmr *ib_fmr_pool_map_phys(struct ib_fmr_pool *pool_handle, int list_len, u64 io_virtual_address); -int ib_fmr_pool_unmap(struct ib_pool_fmr *fmr); +void ib_fmr_pool_unmap(struct ib_pool_fmr *fmr); #endif /* IB_FMR_POOL_H */ |