diff options
author | Jiapeng Zhong <[email protected]> | 2021-01-26 14:21:40 +0800 |
---|---|---|
committer | Guenter Roeck <[email protected]> | 2021-01-27 17:55:46 -0800 |
commit | 906ace80c2849d6ef114cfdb98178bd667f16aed (patch) | |
tree | 9a7ba781c686eb615cfab522bede527fc41d50d1 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | cbfc6c6177f9208762c7c4acec394214b1e8be0c (diff) |
hwmon: (pmbus) Simplify the calculation of variables
Fix the following coccicheck warnings:
./drivers/hwmon/pmbus/pmbus_core.c:1265:24-26: WARNING !A || A && B is
equivalent to !A || B.
Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Jiapeng Zhong <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions