thermal: qcom-spmi: Delete unused field 'prev_stage'
Subsystems (2)
PATCH 1/1 thermal: qcom-spmi: Delete unused field 'prev_stage'
The field 'prev_stage' in struct qpnp_tm_chip is not used, remove it.
Signed-off-by Matthias Kaehlcke <[email protected]>
--- drivers/thermal/qcom-spmi-temp-alarm.c | 1 - 1 file changed, 1 deletion(-)
drivers/thermal/qcom-spmi-temp-alarm.c +0 -1
@@ -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; };
Signature · 1 line
2.18.0.233.g985f88cf7e-goog
Hi,
Quoted 6 lines · Matthias Kaehlcke
The field '
prev_stage' in structqpnp_tm_chipis not used, remove it.Signed-off-by Matthias Kaehlcke <[email protected]>--- drivers/thermal/qcom-spmi-temp-alarm.c | 1 - 1 file changed, 1 deletion(-)
Reviewed-by Douglas Anderson <[email protected]>