Re: [PATCH] RDMA/bnxt_re: remove unneeded variable

From: Jason Gunthorpe
Date: Tue Nov 16 2021 - 12:57:14 EST


On Tue, Nov 09, 2021 at 11:32:27AM +0000, cgel.zte@xxxxxxxxx wrote:
> From: Changcheng Deng <deng.changcheng@xxxxxxxxxx>
>
> Fix the following coccicheck review:
> ./drivers/infiniband/hw/bnxt_re/main.c: 896: 5-7: Unneeded variable
>
> Remove unneeded variable used to store return value.
>
> Reported-by: Zeal Robot <zealci@xxxxxxxxxx>
> Signed-off-by: Changcheng Deng <deng.changcheng@xxxxxxxxxx>
> Reviewed-By: Devesh Sharma <devesh.s.sharma@xxxxxxxxxx>
> ---
> drivers/infiniband/hw/bnxt_re/main.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)

Applied to for-next, thanks

Jason