Skip to content

Commit

Permalink
thermal: intel: intel_soc_dts_iosf: Drop redundant symbol definition
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rafael J. Wysocki committed Aug 10, 2023
1 parent b429b6f commit a39524a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/thermal/intel/intel_soc_dts_iosf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit a39524a

Please sign in to comment.