thermal/drivers/qcom: Remove some unused fields in struct qpnp_tm_chip
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Tue, 9 Apr 2024 19:56:34 +0000 (21:56 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 23 Apr 2024 10:40:29 +0000 (12:40 +0200)
commit0a0c8db8843c5d5e22e2ee275c35d6ecd0659414
tree7b14adb2a782d66bac3d8d7dc5768bfeec20a31e
parentd998ddc86a27c92140b9f7984ff41e3d1d07a48f
thermal/drivers/qcom: Remove some unused fields in struct qpnp_tm_chip

In "struct qpnp_tm_chip", the 'prev_stage' field is unused.
Remove it.

Found with cppcheck, unusedStructMember.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/d1c3a3c455f485dae46290e3488daf1dcc1d355a.1712687589.git.christophe.jaillet@wanadoo.fr
drivers/thermal/qcom/qcom-spmi-temp-alarm.c