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>
This commit is contained in:

committed by
Jason Gunthorpe

parent
89180e814a
commit
3eeeb7a59a
@@ -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 */
|
||||
|
Reference in New Issue
Block a user