]> git.baikalelectronics.ru Git - kernel.git/commit
powercap: RAPL: remove unused local MSR define
authorSumeet Pawnikar <sumeet.r.pawnikar@intel.com>
Thu, 21 May 2020 06:44:26 +0000 (12:14 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 25 May 2020 08:59:29 +0000 (10:59 +0200)
commitdf29b0ee8a78fbb773ac12168e90df25c0d993e4
treef9676512b71ad0e5258cccabe67696edf85d6ad3
parent05c89e5c0a74eb55cb087c50dcc06bda8a42ece8
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 f770a1477c2e
("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 <sumeet.r.pawnikar@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/powercap/intel_rapl_common.c