Re: [PATCH] RDMA/rtrs: Remove a useless kfree

From: Jason Gunthorpe
Date: Thu Aug 19 2021 - 10:30:42 EST


On Thu, Aug 05, 2021 at 07:43:36PM +0200, Christophe JAILLET wrote:
> 'sess->rbufs' is known to be NULL here, so there is no point in kfree'ing
> it. It is just a no-op.
>
> Remove the useless kfree.
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
> Acked-by: Md Haris Iqbal <haris.iqbal@xxxxxxxxx>
> ---
> drivers/infiniband/ulp/rtrs/rtrs-clt.c | 1 -
> 1 file changed, 1 deletion(-)

Applied to for-next with a Fixes line, thanks

Jason