Re: [PATCH] RDMA/rxe: Remove the duplicate assignment of mr->map_shift

Jason Gunthorpe
2022-10-28T18:10:31Z

On Thu, Oct 27, 2022 at 07:31:33AM +0000, Xiao Yang wrote:
> mr->map_shift is set to ilog2(RXE_BUF_PER_MAP) in both rxe_mr_init()
> and rxe_mr_alloc() so remove the duplicate one in rxe_mr_init().
>
> Signed-off-by: Xiao Yang <yangx.jy@fujitsu.com>
> Reviewed-by: Li Zhijian <lizhijian@fujitsu.com>
> ---
> drivers/infiniband/sw/rxe/rxe_mr.c | 1 -
> 1 file changed, 1 deletion(-)

Applied to for-next, thanks

Jason