aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2022-04-19 15:57:47 -0700
committerMartin K. Petersen <[email protected]>2022-04-25 23:23:02 -0400
commita858af9a9e01972c33f61036a3de6f707184e51b (patch)
treebd94e34bc36e0e31d58912c317537bbe3d9ca027 /tools/perf/scripts/python
parent51d1628fc4572705daabac18a7935b661baae1a0 (diff)
scsi: ufs: Simplify statements that return a boolean
Convert "if (expr) return true; else return false;" into "return expr;" if either 'expr' is a boolean expression or the return type of the function is 'bool'. Link: https://lore.kernel.org/r/[email protected] Tested-by: Bean Huo <[email protected]> Reviewed-by: Bjorn Andersson <[email protected]> Reviewed-by: Keoseong Park <[email protected]> Reviewed-by: Bean Huo <[email protected]> Signed-off-by: Bart Van Assche <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions