Skip to content

Commit a39524a

Browse files
committed
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>
1 parent b429b6f commit a39524a

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

drivers/thermal/intel/intel_soc_dts_iosf.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,6 @@
4040
/* Mask for two trips in status bits */
4141
#define SOC_DTS_TRIP_MASK 0x03
4242

43-
/* DTS0 and DTS 1 */
44-
#define SOC_MAX_DTS_SENSORS 2
45-
4643
static int sys_get_trip_temp(struct thermal_zone_device *tzd, int trip,
4744
int *temp)
4845
{

0 commit comments

Comments
 (0)