[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250827093530.416071-1-liaoyuanhong@vivo.com>
Date: Wed, 27 Aug 2025 17:35:24 +0800
From: Liao Yuanhong <liaoyuanhong@...o.com>
To: Ulf Hansson <ulf.hansson@...aro.org>,
Avri Altman <avri.altman@....com>,
Wolfram Sang <wsa+renesas@...g-engineering.com>,
Uwe Kleine-König <u.kleine-koenig@...libre.com>,
Binbin Zhou <zhoubinbin@...ngson.cn>,
Al Viro <viro@...iv.linux.org.uk>,
Ricky Wu <ricky_wu@...ltek.com>,
Huacai Chen <chenhuacai@...nel.org>,
Jisheng Zhang <jszhang@...nel.org>,
Nathan Chancellor <nathan@...nel.org>,
Dan Carpenter <dan.carpenter@...aro.org>,
linux-mmc@...r.kernel.org (open list:MULTIMEDIA CARD (MMC), SECURE DIGITAL (SD) AND...),
linux-kernel@...r.kernel.org (open list)
Cc: Liao Yuanhong <liaoyuanhong@...o.com>
Subject: [PATCH 0/2] mmc: rtsx: Remove redundant ternary operators
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 (2):
mmc: rtsx_pci: Remove redundant ternary operators
mmc: rtsx_usb_sdmmc: Remove redundant ternary operators
drivers/mmc/host/rtsx_pci_sdmmc.c | 2 +-
drivers/mmc/host/rtsx_usb_sdmmc.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
--
2.34.1
Powered by blists - more mailing lists