On Sun, Jul 05, 2020 at 01:43:12PM +0300, Kamal Heib wrote: > The return value from rxe_mem_init_dma() is always 0 - change it to be > void and fix the callers accordingly. > > Fixes: 8700e3e7c485 ("Soft RoCE driver") > Signed-off-by: Kamal Heib <kamalheib1@xxxxxxxxx> > --- > drivers/infiniband/sw/rxe/rxe_loc.h | 4 ++-- > drivers/infiniband/sw/rxe/rxe_mr.c | 6 ++---- > drivers/infiniband/sw/rxe/rxe_verbs.c | 20 +++----------------- > 3 files changed, 7 insertions(+), 23 deletions(-) > Thanks, Reviewed-by: Leon Romanovsky <leonro@xxxxxxxxxxxx>