diff options
author | 2023-01-12 11:56:46 +0530 | |
---|---|---|
committer | 2023-01-23 21:18:16 -0500 | |
commit | 5a5ef64f28edda2d62109e9dfc87a9212f06bf5b (patch) | |
tree | ac095e499270a7a564ffa8151724ace243a1804c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | scsi: qla2xxx: Use a variable for repeated mem_size computation (diff) | |
download | wireguard-linux-5a5ef64f28edda2d62109e9dfc87a9212f06bf5b.tar.xz wireguard-linux-5a5ef64f28edda2d62109e9dfc87a9212f06bf5b.zip |
scsi: qla2xxx: Simplify if condition evaluation
A logical evaluation of type (!A || A && B) can be simplified as (!A || B).
Improvement by suggested by excluded_middle.cocci Coccinelel semantic
patch.
Link: https://lore.kernel.org/r/Y7+oJuah0MgEW0PQ@ubun2204.myguest.virtualbox.org
Signed-off-by: Deepak R Varma <drv@mailo.com>
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions