From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: alim.akhtar@samsung.com, beanhuo@micron.com, avri.altman@wdc.com,
cang@codeaurora.org, Yue Hu <zbestahu@gmail.com>,
stanley.chu@mediatek.com, jejb@linux.ibm.com
Cc: "Martin K . Petersen" <martin.petersen@oracle.com>,
zhangwen@yulong.com, zbestahu@163.com,
linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org,
huyue2@yulong.com
Subject: Re: [PATCH] scsi: ufs: Remove unnecessary ret in ufshcd_populate_vreg()
Date: Thu, 18 Mar 2021 23:46:46 -0400 [thread overview]
Message-ID: <161612513551.25210.13542348088832231641.b4-ty@oracle.com> (raw)
In-Reply-To: <20210310082741.647-1-zbestahu@gmail.com>
On Wed, 10 Mar 2021 16:27:41 +0800, Yue Hu wrote:
> The local variable _ret_ is always zero, so we can remove it and just
> return 0 directly in the end.
Applied to 5.13/scsi-queue, thanks!
[1/1] scsi: ufs: Remove unnecessary ret in ufshcd_populate_vreg()
https://git.kernel.org/mkp/scsi/c/2a8561b78e37
--
Martin K. Petersen Oracle Linux Engineering
prev parent reply other threads:[~2021-03-19 3:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-10 8:27 [PATCH] scsi: ufs: Remove unnecessary ret in ufshcd_populate_vreg() Yue Hu
2021-03-19 3:46 ` Martin K. Petersen [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=161612513551.25210.13542348088832231641.b4-ty@oracle.com \
--to=martin.petersen@oracle.com \
--cc=alim.akhtar@samsung.com \
--cc=avri.altman@wdc.com \
--cc=beanhuo@micron.com \
--cc=cang@codeaurora.org \
--cc=huyue2@yulong.com \
--cc=jejb@linux.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=stanley.chu@mediatek.com \
--cc=zbestahu@163.com \
--cc=zbestahu@gmail.com \
--cc=zhangwen@yulong.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).