Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Kuppuswamy Sathyanarayanan and committed by
Rafael J. Wysocki
c64e89ba 4fee5b74

-3
-3
drivers/powercap/intel_rapl_common.c
··· 117 117 118 118 #define RAPL_EVENT_MASK GENMASK(7, 0) 119 119 120 - #define TIME_WINDOW_MAX_MSEC 40000 121 - #define TIME_WINDOW_MIN_MSEC 250 122 - 123 120 enum unit_type { 124 121 ARBITRARY_UNIT, /* no translation */ 125 122 POWER_UNIT,