Re: [PATCH for-next v2] RDMA/rxe: remove redundant err variable

From: Jason Gunthorpe
Date: Wed Jan 05 2022 - 12:55:01 EST


On Wed, Dec 15, 2021 at 07:52:58AM +0000, cgel.zte@xxxxxxxxx wrote:
> From: Minghao Chi <chi.minghao@xxxxxxxxxx>
>
> Return value directly instead of taking this
> in another redundant variable.
>
> Reported-by: Zeal Robot <zealci@xxxxxxxxxx>
> Signed-off-by: Minghao Chi <chi.minghao@xxxxxxxxxx>
> ---
> drivers/infiniband/sw/rxe/rxe_net.c | 8 ++------
> 1 file changed, 2 insertions(+), 6 deletions(-)

Applied to for-next, thanks

Jason