From: Julien Panis Date: Fri, 3 May 2024 15:35:13 +0000 (+0200) Subject: thermal/drivers/mediatek/lvts_thermal: Remove unused members from struct lvts_ctrl_data X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=e2d2266a2ac1da67a74c855c24ed3acb54a1e410;p=linux.git 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 Reviewed-by: AngeloGioacchino Del Regno Reviewed-by: Nicolas Pitre Signed-off-by: Daniel Lezcano Link: https://lore.kernel.org/r/20240503-mtk-thermal-lvts-ctrl-idx-fix-v1-1-f605c50ca117@baylibre.com --- diff --git a/drivers/thermal/mediatek/lvts_thermal.c b/drivers/thermal/mediatek/lvts_thermal.c index 20a64b68f9c05..4fa5e74cbcc8b 100644 --- a/drivers/thermal/mediatek/lvts_thermal.c +++ b/drivers/thermal/mediatek/lvts_thermal.c @@ -105,8 +105,6 @@ struct lvts_sensor_data { struct lvts_ctrl_data { struct lvts_sensor_data lvts_sensor[LVTS_SENSOR_MAX]; - int cal_offset[LVTS_SENSOR_MAX]; - int num_lvts_sensor; u8 valid_sensor_mask; int offset; int mode;