summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/thermal/msm_thermal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/msm_thermal.c b/drivers/thermal/msm_thermal.c
index 9f47a1986f85..b05a51c1c31f 100644
--- a/drivers/thermal/msm_thermal.c
+++ b/drivers/thermal/msm_thermal.c
@@ -2803,7 +2803,7 @@ static int do_vdd_mx(void)
}
}
- if ((dis_cnt == thresh[MSM_VDD_MX_RESTRICTION].thresh_ct)) {
+ if (dis_cnt == thresh[MSM_VDD_MX_RESTRICTION].thresh_ct) {
ret = remove_vdd_mx_restriction();
if (ret)
pr_err("Failed to remove vdd mx restriction\n");