diff options
| author | Nathan Chancellor <natechancellor@gmail.com> | 2019-09-26 23:45:03 -0700 |
|---|---|---|
| committer | Michael Bestas <mkbestas@lineageos.org> | 2020-02-02 01:41:02 +0200 |
| commit | a17d1e1927264aafccdee1755a2067775ca46b01 (patch) | |
| tree | 95ab40125c5c5c4753f0fb3e23d7bb11f40f5226 /scripts/gdb/linux/modules.py | |
| parent | 722c2dfad791dfca2b0517b32930be75b69a6581 (diff) | |
msm: thermal: Remove unnecessary parentheses in do_vdd_mx
Clang warns:
../drivers/thermal/msm_thermal.c:2806:15: warning: equality comparison
with extraneous parentheses [-Wparentheses-equality]
if ((dis_cnt == thresh[MSM_VDD_MX_RESTRICTION].thresh_ct)) {
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/thermal/msm_thermal.c:2806:15: note: remove extraneous
parentheses around the comparison to silence this warning
if ((dis_cnt == thresh[MSM_VDD_MX_RESTRICTION].thresh_ct)) {
~ ^ ~
../drivers/thermal/msm_thermal.c:2806:15: note: use '=' to turn this
equality comparison into an assignment
if ((dis_cnt == thresh[MSM_VDD_MX_RESTRICTION].thresh_ct)) {
^~
=
Fixes: b68798fafa4e ("soc: qcom: Snapshot of thermal/LMH drivers")
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions
