diff options
author | Jiapeng Zhong <abaci-bugfix@linux.alibaba.com> | 2021-01-26 09:21:40 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2021-01-28 04:55:46 +0300 |
commit | 906ace80c2849d6ef114cfdb98178bd667f16aed (patch) | |
tree | 9a7ba781c686eb615cfab522bede527fc41d50d1 /Documentation/hwmon/max16601.rst | |
parent | cbfc6c6177f9208762c7c4acec394214b1e8be0c (diff) | |
download | linux-906ace80c2849d6ef114cfdb98178bd667f16aed.tar.xz |
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 <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Zhong <abaci-bugfix@linux.alibaba.com>
Link: https://lore.kernel.org/r/1611642100-29937-1-git-send-email-abaci-bugfix@linux.alibaba.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Documentation/hwmon/max16601.rst')
0 files changed, 0 insertions, 0 deletions