summaryrefslogtreecommitdiff
path: root/include/rdma/ib_fmr_pool.h
diff options
context:
space:
mode:
authorYuval Shaia <yuval.shaia@oracle.com>2018-11-21 13:47:02 +0200
committerJason Gunthorpe <jgg@mellanox.com>2018-11-21 16:13:02 -0700
commit3eeeb7a59acddaa326b03efdf6dce61c120449a3 (patch)
tree775cb148b0964af364271d63adb689b72df1e0be /include/rdma/ib_fmr_pool.h
parent89180e814aa3cfbdfceaaeed08b6ebab73b1e359 (diff)
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.h2
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 */