diff options
author | Jiapeng Zhong | 2021-01-26 16:42:34 +0800 |
---|---|---|
committer | Martin K. Petersen | 2021-01-29 13:34:10 -0500 |
commit | 99de0ea06ac04c084b42da3a15aefd4bde1c8424 (patch) | |
tree | 12d0b66dc15c6867b944d3d73b7a9b7caa1bb24a /drivers/scsi/dpt_i2o.c | |
parent | a927ec3995427e9c47752900ad2df0755d02aba5 (diff) |
scsi: qla2xxx: Simplify the calculation of variables
Fix the following coccicheck warnings:
./drivers/scsi/qla2xxx/qla_nvme.c:288:24-26: WARNING !A || A && B is
equivalent to !A || B.
Link: https://lore.kernel.org/r/1611650554-33019-1-git-send-email-abaci-bugfix@linux.alibaba.com
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Jiapeng Zhong <abaci-bugfix@linux.alibaba.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/dpt_i2o.c')
0 files changed, 0 insertions, 0 deletions