From: Vinod Koul <vkoul@kernel.org>
To: Kishon Vijay Abraham I <kishon@kernel.org>,
Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>,
Geert Uytterhoeven <geert+renesas@glider.be>,
Magnus Damm <magnus.damm@gmail.com>,
Heiko Stuebner <heiko@sntech.de>,
linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org,
linux-renesas-soc@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-rockchip@lists.infradead.org,
Liao Yuanhong <liaoyuanhong@vivo.com>
Subject: Re: (subset) [PATCH 0/3] phy: Remove redundant ternary operators
Date: Mon, 01 Sep 2025 22:38:08 +0530 [thread overview]
Message-ID: <175674648843.186496.241265078555502799.b4-ty@kernel.org> (raw)
In-Reply-To: <20250828122401.17441-1-liaoyuanhong@vivo.com>
On Thu, 28 Aug 2025 20:23:54 +0800, Liao Yuanhong wrote:
> For ternary operators in the form of "a ? true : false", if 'a' itself
> returns a boolean result, the ternary operator can be omitted. Remove
> redundant ternary operators to clean up the code.
>
> Liao Yuanhong (3):
> phy: hisilicon: Remove redundant ternary operators
> phy: renesas: rcar-gen3-usb2: Remove redundant ternary operators
> phy: rockchip: usbdp: Remove redundant ternary operators
>
> [...]
Applied, thanks!
[1/3] phy: hisilicon: Remove redundant ternary operators
commit: da938e39a81642748db3ec2385e8a53fe03d9bd1
[3/3] phy: rockchip: usbdp: Remove redundant ternary operators
commit: 0c5375b06060fa40a8f8ce2e926bde125fdf6c3b
Best regards,
--
~Vinod
--
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy
prev parent reply other threads:[~2025-09-01 23:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-28 12:23 [PATCH 0/3] phy: Remove redundant ternary operators Liao Yuanhong
2025-08-28 12:23 ` [PATCH 1/3] phy: hisilicon: " Liao Yuanhong
2025-08-28 12:23 ` [PATCH 2/3] phy: renesas: rcar-gen3-usb2: " Liao Yuanhong
2025-08-28 12:31 ` Wolfram Sang
2025-08-28 12:23 ` [PATCH 3/3] phy: rockchip: usbdp: " Liao Yuanhong
2025-09-01 17:08 ` Vinod Koul [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=175674648843.186496.241265078555502799.b4-ty@kernel.org \
--to=vkoul@kernel.org \
--cc=geert+renesas@glider.be \
--cc=heiko@sntech.de \
--cc=kishon@kernel.org \
--cc=liaoyuanhong@vivo.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-phy@lists.infradead.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=magnus.damm@gmail.com \
--cc=yoshihiro.shimoda.uh@renesas.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