diff mbox series

thermal: qcom-spmi: Delete unused field 'prev_stage'

Message ID 20180724235636.60357-1-mka@chromium.org (mailing list archive)
State Changes Requested
Delegated to: Eduardo Valentin
Headers show
Series thermal: qcom-spmi: Delete unused field 'prev_stage' | expand

Commit Message

Matthias Kaehlcke July 24, 2018, 11:56 p.m. UTC
The field 'prev_stage' in struct qpnp_tm_chip is not used, remove it.

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

Comments

Doug Anderson July 25, 2018, 11:25 p.m. UTC | #1
Hi,

On Tue, Jul 24, 2018 at 4:56 PM, Matthias Kaehlcke <mka@chromium.org> wrote:
> The field 'prev_stage' in struct qpnp_tm_chip is not used, remove it.
>
> Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
> ---
>  drivers/thermal/qcom-spmi-temp-alarm.c | 1 -
>  1 file changed, 1 deletion(-)

Reviewed-by: Douglas Anderson <dianders@chromium.org>
diff mbox series

Patch

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;
 };