[PATCH] thermal: qcom-spmi: Delete unused field 'prev_stage'

From: Matthias Kaehlcke
Date: Tue Jul 24 2018 - 19:56:52 EST


The field 'prev_stage' in struct qpnp_tm_chip is not used, remove it.

Signed-off-by: Matthias Kaehlcke <mka@xxxxxxxxxxxx>
---
drivers/thermal/qcom-spmi-temp-alarm.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/thermal/qcom-spmi-temp-alarm.c b/drivers/thermal/qcom-spmi-temp-alarm.c
index ad4f3a8d6560..964d35e32027 100644
--- a/drivers/thermal/qcom-spmi-temp-alarm.c
+++ b/drivers/thermal/qcom-spmi-temp-alarm.c
@@ -67,7 +67,6 @@ struct qpnp_tm_chip {
long temp;
unsigned int thresh;
unsigned int stage;
- unsigned int prev_stage;
unsigned int base;
struct iio_channel *adc;
};
--
2.18.0.233.g985f88cf7e-goog