[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20220228175758.GA608324@nvidia.com>
Date: Mon, 28 Feb 2022 13:57:58 -0400
From: Jason Gunthorpe <jgg@...dia.com>
To: Yajun Deng <yajun.deng@...ux.dev>
Cc: linux-rdma@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH for-next] RDMA/core: Remove unnecessary statements
On Wed, Feb 23, 2022 at 03:49:01PM +0800, Yajun Deng wrote:
> The rdma_zalloc_drv_obj() in __ib_alloc_pd() would zero pd, it unnecessary
> add NULL to the object in struct pd.
>
> The uverbs_free_pd() already return busy if pd->usecnt is true, there is
> no need to add a warning.
>
> Signed-off-by: Yajun Deng <yajun.deng@...ux.dev>
> Reviewed-by: Leon Romanovsky <leonro@...dia.com>
> drivers/infiniband/core/verbs.c | 7 -------
> 1 file changed, 7 deletions(-)
Applied to for-next, with Leon's note added
Thanks,
Jason
Powered by blists - more mailing lists