From: Leon Romanovsky <leon@kernel.org>
To: Zhen Lei <thunder.leizhen@huawei.com>
Cc: Doug Ledford <dledford@redhat.com>,
Jason Gunthorpe <jgg@ziepe.ca>,
linux-rdma <linux-rdma@vger.kernel.org>
Subject: Re: [PATCH 1/1] RDMA/cm: Delete two redundant condition branches
Date: Mon, 10 May 2021 12:50:00 +0300 [thread overview]
Message-ID: <YJkByCnQGcLOIlCz@unreal> (raw)
In-Reply-To: <20210510090840.3474-1-thunder.leizhen@huawei.com>
On Mon, May 10, 2021 at 05:08:40PM +0800, Zhen Lei wrote:
> The statement of the last "if (xxx)" branch is the same as the "else"
> branch. Delete it to simplify code.
>
> No functional change.
>
> Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
> ---
> drivers/infiniband/core/cm.c | 4 ----
> 1 file changed, 4 deletions(-)
>
Thanks,
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
next prev parent reply other threads:[~2021-05-10 9:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-10 9:08 [PATCH 1/1] RDMA/cm: Delete two redundant condition branches Zhen Lei
2021-05-10 9:50 ` Leon Romanovsky [this message]
2021-05-11 19:56 ` Jason Gunthorpe
2021-05-12 1:35 ` Leizhen (ThunderTown)
2021-05-12 2:17 ` Leizhen (ThunderTown)
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=YJkByCnQGcLOIlCz@unreal \
--to=leon@kernel.org \
--cc=dledford@redhat.com \
--cc=jgg@ziepe.ca \
--cc=linux-rdma@vger.kernel.org \
--cc=thunder.leizhen@huawei.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.