summaryrefslogtreecommitdiff
path: root/drivers/thermal
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-08-09 23:28:12 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-08-10 22:02:17 +0300
commita39524aca314a93100cafa49f0a0cf0508a00d1e (patch)
tree3ba1572c9ae97d2cce17e921d4fddab6eb934514 /drivers/thermal
parentb429b6ffbdc976d22bdf0b5ba9183c8466209cba (diff)
downloadlinux-a39524aca314a93100cafa49f0a0cf0508a00d1e.tar.xz
thermal: intel: intel_soc_dts_iosf: Drop redundant symbol definition
SOC_MAX_DTS_SENSORS is already defined in intel_soc_dts_iosf.h which is included in intel_soc_dts_iosf.c, so it does not need to be defined in the latter again. Drop the redundant definition of that symbol from intel_soc_dts_iosf.c. No intentional functional impact. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Diffstat (limited to 'drivers/thermal')
-rw-r--r--drivers/thermal/intel/intel_soc_dts_iosf.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/thermal/intel/intel_soc_dts_iosf.c b/drivers/thermal/intel/intel_soc_dts_iosf.c
index 426d5bb5a373..60bdca997c21 100644
--- a/drivers/thermal/intel/intel_soc_dts_iosf.c
+++ b/drivers/thermal/intel/intel_soc_dts_iosf.c
@@ -40,9 +40,6 @@
/* Mask for two trips in status bits */
#define SOC_DTS_TRIP_MASK 0x03
-/* DTS0 and DTS 1 */
-#define SOC_MAX_DTS_SENSORS 2
-
static int sys_get_trip_temp(struct thermal_zone_device *tzd, int trip,
int *temp)
{