On Sun, Jul 05, 2020 at 01:43:13PM +0300, Kamal Heib wrote: > Instead of returning IB_LINK_LAYER_ETHERNET from rxe_link_layer, return it > directly from get_link_layer callback and remove rxe_link_layer(). > > Fixes: 8700e3e7c485 ("Soft RoCE driver") > Signed-off-by: Kamal Heib <kamalheib1@xxxxxxxxx> > --- > drivers/infiniband/sw/rxe/rxe_loc.h | 1 - > drivers/infiniband/sw/rxe/rxe_net.c | 5 ----- > drivers/infiniband/sw/rxe/rxe_verbs.c | 4 +--- > 3 files changed, 1 insertion(+), 9 deletions(-) > Thanks, Reviewed-by: Leon Romanovsky <leonro@xxxxxxxxxxxx>