From: Jason Gunthorpe <jgg@nvidia.com>
To: Yajun Deng <yajun.deng@linux.dev>
Cc: linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH for-next] RDMA/core: Remove unnecessary statements
Date: Mon, 28 Feb 2022 13:57:58 -0400 [thread overview]
Message-ID: <20220228175758.GA608324@nvidia.com> (raw)
In-Reply-To: <20220223074901.201506-1-yajun.deng@linux.dev>
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@linux.dev>
> Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
> drivers/infiniband/core/verbs.c | 7 -------
> 1 file changed, 7 deletions(-)
Applied to for-next, with Leon's note added
Thanks,
Jason
prev parent reply other threads:[~2022-02-28 18:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-23 7:49 [PATCH for-next] RDMA/core: Remove unnecessary statements Yajun Deng
2022-02-24 19:15 ` Leon Romanovsky
2022-02-28 17:57 ` Jason Gunthorpe [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220228175758.GA608324@nvidia.com \
--to=jgg@nvidia.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=yajun.deng@linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox