Re: [PATCH 0/6] scsi: Remove redundant ternary operators

From: Martin K. Petersen

Date: Mon Sep 29 2025 - 22:37:38 EST


On Tue, 02 Sep 2025 21:23:40 +0800, Liao Yuanhong wrote:

> For ternary operators in the form of "a ? true : false" or
> "a ? false : true", if 'a' itself returns a boolean result, the ternary
> operator can be omitted. Remove redundant ternary operators to clean up the
> code.
>
> Liao Yuanhong (6):
> scsi: arcmsr: Remove redundant ternary operators
> scsi: csiostor: Remove redundant ternary operators
> scsi: isci: Remove redundant ternary operators
> scsi: megaraid_sas: Remove redundant ternary operators
> scsi: scsi_transport_fc: Remove redundant ternary operators
> scsi: storvsc: Remove redundant ternary operators
>
> [...]

Applied to 6.18/scsi-queue, thanks!

[6/6] scsi: storvsc: Remove redundant ternary operators
https://git.kernel.org/mkp/scsi/c/15968590f07c

--
Martin K. Petersen