diff options
| author | 2022-04-19 15:57:46 -0700 | |
|---|---|---|
| committer | 2022-04-25 23:23:02 -0400 | |
| commit | 51d1628fc4572705daabac18a7935b661baae1a0 (patch) | |
| tree | 88325a873216aeec19b7446f0dfd9c31cfff5f29 /tools/perf/scripts/python | |
| parent | scsi: ufs: Declare ufshcd_wait_for_register() static (diff) | |
scsi: ufs: Remove superfluous boolean conversions
Remove "? true : false" if the preceding expression yields a boolean or if
the result of the expression is assigned to a boolean since in these two
cases the "? true : false" part is superfluous.
Link: https://lore.kernel.org/r/20220419225811.4127248-4-bvanassche@acm.org
Tested-by: Bean Huo <beanhuo@micron.com>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Avri Altman <avri.altman@wdc.com>
Reviewed-by: Bean Huo <beanhuo@micron.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
