diff options
author | Jiapeng Chong | 2021-02-03 10:26:30 +0800 |
---|---|---|
committer | Martin K. Petersen | 2021-02-08 22:09:59 -0500 |
commit | 960204ecca5e71a7ef4319a2e94eed2279da1624 (patch) | |
tree | c4d2f45680d801f5f278a8d9d2815799082945f4 /drivers/scsi/myrb.c | |
parent | 762a8ea515f57166697f45880b8a41162f63ccd9 (diff) |
scsi: qla2xxx: Simplify if statement
Fix the following coccicheck warnings:
./drivers/scsi/qla2xxx/qla_target.c:984:12-14: WARNING !A || A && B is
equivalent to !A || B.
Link: https://lore.kernel.org/r/1612319190-111421-1-git-send-email-jiapeng.chong@linux.alibaba.com
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/myrb.c')
0 files changed, 0 insertions, 0 deletions