summaryrefslogtreecommitdiff
path: root/drivers/thermal/qcom/qcom-spmi-temp-alarm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/thermal/qcom/qcom-spmi-temp-alarm.c')
-rw-r--r--drivers/thermal/qcom/qcom-spmi-temp-alarm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/thermal/qcom/qcom-spmi-temp-alarm.c b/drivers/thermal/qcom/qcom-spmi-temp-alarm.c
index 78c5cfe6a0c0..3cd74f6cac8f 100644
--- a/drivers/thermal/qcom/qcom-spmi-temp-alarm.c
+++ b/drivers/thermal/qcom/qcom-spmi-temp-alarm.c
@@ -74,7 +74,6 @@ struct qpnp_tm_chip {
long temp;
unsigned int thresh;
unsigned int stage;
- unsigned int prev_stage;
unsigned int base;
/* protects .thresh, .stage and chip registers */
struct mutex lock;