diff options
author | Abaci Team <abaci-bugfix@linux.alibaba.com> | 2021-01-27 09:42:05 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2021-02-01 15:04:21 +0100 |
commit | 6dc466d34f51767ad34fb900de8d278a66a3f1ed (patch) | |
tree | e980ff06e28aa5d79dd9571eb53f707883aec26c /drivers/cpufreq/tegra20-cpufreq.c | |
parent | PM: domains: Add "performance" column to debug summary (diff) | |
download | linux-6dc466d34f51767ad34fb900de8d278a66a3f1ed.tar.xz linux-6dc466d34f51767ad34fb900de8d278a66a3f1ed.zip |
PM: domains: Simplify the calculation of variables
Fix the following coccicheck warnings:
./drivers/base/power/domain.c:938:31-33: WARNING !A || A && B is
equivalent to !A || B.
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Suggested-by: Jiapeng Zhong <oswb@linux.alibaba.com>
Signed-off-by: Abaci Team <abaci-bugfix@linux.alibaba.com>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/tegra20-cpufreq.c')
0 files changed, 0 insertions, 0 deletions