From: Jason Gunthorpe <jgg@nvidia.com>
To: yanjun.zhu@linux.dev
Cc: zyjzyj2000@gmail.com, dledford@redhat.com,
linux-rdma@vger.kernel.org, leon@kernel.org
Subject: Re: [PATCH 1/1] RDMA/rxe: Remove the unnecessary variable
Date: Tue, 7 Dec 2021 14:18:50 -0400 [thread overview]
Message-ID: <20211207181850.GA108886@nvidia.com> (raw)
In-Reply-To: <20211207194057.713289-1-yanjun.zhu@linux.dev>
On Tue, Dec 07, 2021 at 02:40:57PM -0500, yanjun.zhu@linux.dev wrote:
> From: Zhu Yanjun <yanjun.zhu@linux.dev>
>
> The variable pkey is assigned to a macro. Then this variable is passed
> to a function bth_init directly. And pkey is not used again. So remove
> it and use the macro directly.
>
> Fixes: 76251e15ea73 ("RDMA/rxe: Remove pkey table")
> Signed-off-by: Zhu Yanjun <yanjun.zhu@linux.dev>
> ---
> drivers/infiniband/sw/rxe/rxe_req.c | 5 +----
> 1 file changed, 1 insertion(+), 4 deletions(-)
Applied to for-next, thanks
Jason
next prev parent reply other threads:[~2021-12-07 18:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-07 19:40 [PATCH 1/1] RDMA/rxe: Remove the unnecessary variable yanjun.zhu
2021-12-07 18:18 ` Jason Gunthorpe [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-09-15 7:51 [PATCH 1/1] RDMA/rxe: remove " Zhu Yanjun
2021-09-14 19:17 ` Jason Gunthorpe
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=20211207181850.GA108886@nvidia.com \
--to=jgg@nvidia.com \
--cc=dledford@redhat.com \
--cc=leon@kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=yanjun.zhu@linux.dev \
--cc=zyjzyj2000@gmail.com \
/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;
as well as URLs for NNTP newsgroup(s).