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

 drivers/scsi/arcmsr/arcmsr_hba.c            | 11 +++++------
 drivers/scsi/csiostor/csio_scsi.c           |  2 +-
 drivers/scsi/isci/request.c                 |  2 +-
 drivers/scsi/megaraid/megaraid_sas_base.c   |  4 ++--
 drivers/scsi/megaraid/megaraid_sas_fusion.c |  4 ++--
 drivers/scsi/scsi_transport_fc.c            |  2 +-
 drivers/scsi/storvsc_drv.c                  |  4 ++--
 7 files changed, 14 insertions(+), 15 deletions(-)

-- 
2.34.1


Reply via email to