Skip to content

Commit c64e89b

Browse files
Kuppuswamy Sathyanarayananrafaeljw
authored andcommitted
powercap: intel_rapl: Remove unused TIME_WINDOW macros
Remove TIME_WINDOW_MIN_MSEC and TIME_WINDOW_MAX_MSEC as they are not used anywhere in the code. Signed-off-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com> Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Link: https://patch.msgid.link/20260212233044.329790-4-sathyanarayanan.kuppuswamy@linux.intel.com Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent 4fee5b7 commit c64e89b

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

drivers/powercap/intel_rapl_common.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,6 @@
117117

118118
#define RAPL_EVENT_MASK GENMASK(7, 0)
119119

120-
#define TIME_WINDOW_MAX_MSEC 40000
121-
#define TIME_WINDOW_MIN_MSEC 250
122-
123120
enum unit_type {
124121
ARBITRARY_UNIT, /* no translation */
125122
POWER_UNIT,

0 commit comments

Comments
 (0)