diff options
author | Deepak R Varma <drv@mailo.com> | 2023-01-12 11:56:46 +0530 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-01-23 21:18:16 -0500 |
commit | 5a5ef64f28edda2d62109e9dfc87a9212f06bf5b (patch) | |
tree | ac095e499270a7a564ffa8151724ace243a1804c /include/ufs/ufshcd.h | |
parent | 4fd62973739de61cf4c83b960db7d1824bd854a3 (diff) | |
download | linux-5a5ef64f28edda2d62109e9dfc87a9212f06bf5b.tar.gz linux-5a5ef64f28edda2d62109e9dfc87a9212f06bf5b.tar.bz2 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 'include/ufs/ufshcd.h')
0 files changed, 0 insertions, 0 deletions