Skip to content

Commit e2d2266

Browse files
jpanisbldlezcano
authored andcommitted
thermal/drivers/mediatek/lvts_thermal: Remove unused members from struct lvts_ctrl_data
In struct lvts_ctrl_data, num_lvts_sensor and cal_offset[] are not used. Signed-off-by: Julien Panis <jpanis@baylibre.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Reviewed-by: Nicolas Pitre <npitre@baylibre.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/20240503-mtk-thermal-lvts-ctrl-idx-fix-v1-1-f605c50ca117@baylibre.com
1 parent a1191a7 commit e2d2266

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/thermal/mediatek/lvts_thermal.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,6 @@ struct lvts_sensor_data {
105105

106106
struct lvts_ctrl_data {
107107
struct lvts_sensor_data lvts_sensor[LVTS_SENSOR_MAX];
108-
int cal_offset[LVTS_SENSOR_MAX];
109-
int num_lvts_sensor;
110108
u8 valid_sensor_mask;
111109
int offset;
112110
int mode;

0 commit comments

Comments
 (0)