Skip to content
Commit 906ace80 authored by Jiapeng Zhong's avatar Jiapeng Zhong Committed by Guenter Roeck
Browse files

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: default avatarAbaci Robot <abaci@linux.alibaba.com>
Signed-off-by: default avatarJiapeng 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: default avatarGuenter Roeck <linux@roeck-us.net>
parent cbfc6c61
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment