Skip to content

Commit 03c3b41

Browse files
sumeetpawnikarrafaeljw
authored andcommitted
powercap: RAPL: remove unused local MSR define
Remove unused PLATFORM_POWER_LIMIT MSR local definition from file intel_rapl_common.c. This was missed while splitting old RAPL code intel_rapl.c file into two new files intel_rapl_msr.c and intel_rapl_common.c as per the commit 3382388 ("intel_rapl: abstract RAPL common code"). Currently, this #define entry is being used only in intel_rapl_msr.c file and local definition present in this file. Signed-off-by: Sumeet Pawnikar <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 33c9800 commit 03c3b41

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

drivers/powercap/intel_rapl_common.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@
2626
#include <asm/cpu_device_id.h>
2727
#include <asm/intel-family.h>
2828

29-
/* Local defines */
30-
#define MSR_PLATFORM_POWER_LIMIT 0x0000065C
31-
3229
/* bitmasks for RAPL MSRs, used by primitive access functions */
3330
#define ENERGY_STATUS_MASK 0xffffffff
3431

0 commit comments

Comments
 (0)