From: Leon Romanovsky <leon@kernel.org>
To: cgel.zte@gmail.com
Cc: jgg@ziepe.ca, dennis.dalessandro@cornelisnetworks.com,
linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org,
ye xingchen <ye.xingchen@zte.com.cn>,
Zeal Robot <zealci@zte.com.cn>
Subject: Re: [PATCH linux-next] RDMA/hfi1: Remove the unneeded result variable
Date: Mon, 5 Sep 2022 15:14:47 +0300 [thread overview]
Message-ID: <YxXoNwYwtjogoE+V@unreal> (raw)
In-Reply-To: <20220901074209.313004-1-ye.xingchen@zte.com.cn>
On Thu, Sep 01, 2022 at 07:42:09AM +0000, cgel.zte@gmail.com wrote:
> From: ye xingchen <ye.xingchen@zte.com.cn>
>
> Return the value set_link_state() directly instead of storing it in
> another redundant variable.
>
> Reported-by: Zeal Robot <zealci@zte.com.cn>
> Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
> ---
> drivers/infiniband/hw/hfi1/verbs.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
Thanks, applied.
prev parent reply other threads:[~2022-09-05 12:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-01 7:42 [PATCH linux-next] RDMA/hfi1: Remove the unneeded result variable cgel.zte
2022-09-05 12:14 ` Leon Romanovsky [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=YxXoNwYwtjogoE+V@unreal \
--to=leon@kernel.org \
--cc=cgel.zte@gmail.com \
--cc=dennis.dalessandro@cornelisnetworks.com \
--cc=jgg@ziepe.ca \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=ye.xingchen@zte.com.cn \
--cc=zealci@zte.com.cn \
/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