diff options
author | Hanjun Guo <hanjun.guo@linaro.org> | 2013-06-24 03:36:33 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-06-24 06:58:43 -0400 |
commit | 86d6725a572d08e5e709871a77a7df137adf5ad4 (patch) | |
tree | e9087507796353f0d6166d514f31a1da8d5f88db /drivers/acpi/processor_driver.c | |
parent | 08f502c1c343031f0d126bd00e87dede38269d12 (diff) |
ACPI / processor: Remove unused macros in processor_driver.c
ACPI_PROCESSOR_FILE_INFO, ACPI_PROCESSOR_FILE_THROTTLING and
ACPI_PROCESSOR_FILE_LIMIT are used for procfs, but this feature was removed
in commit d09fe555 (ACPI processor: remove deprecated ACPI procfs I/F) long
ago. So, these macros should also be removed.
ACPI_PROCESSOR_LIMIT_USER and ACPI_PROCESSOR_LIMIT_THERMAL are not used
by any code, remove them too.
Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/processor_driver.c')
-rw-r--r-- | drivers/acpi/processor_driver.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/acpi/processor_driver.c b/drivers/acpi/processor_driver.c index d93963f1e8f4..823be116619e 100644 --- a/drivers/acpi/processor_driver.c +++ b/drivers/acpi/processor_driver.c | |||
@@ -43,16 +43,10 @@ | |||
43 | 43 | ||
44 | #define PREFIX "ACPI: " | 44 | #define PREFIX "ACPI: " |
45 | 45 | ||
46 | #define ACPI_PROCESSOR_FILE_INFO "info" | ||
47 | #define ACPI_PROCESSOR_FILE_THROTTLING "throttling" | ||
48 | #define ACPI_PROCESSOR_FILE_LIMIT "limit" | ||
49 | #define ACPI_PROCESSOR_NOTIFY_PERFORMANCE 0x80 | 46 | #define ACPI_PROCESSOR_NOTIFY_PERFORMANCE 0x80 |
50 | #define ACPI_PROCESSOR_NOTIFY_POWER 0x81 | 47 | #define ACPI_PROCESSOR_NOTIFY_POWER 0x81 |
51 | #define ACPI_PROCESSOR_NOTIFY_THROTTLING 0x82 | 48 | #define ACPI_PROCESSOR_NOTIFY_THROTTLING 0x82 |
52 | 49 | ||
53 | #define ACPI_PROCESSOR_LIMIT_USER 0 | ||
54 | #define ACPI_PROCESSOR_LIMIT_THERMAL 1 | ||
55 | |||
56 | #define _COMPONENT ACPI_PROCESSOR_COMPONENT | 50 | #define _COMPONENT ACPI_PROCESSOR_COMPONENT |
57 | ACPI_MODULE_NAME("processor_driver"); | 51 | ACPI_MODULE_NAME("processor_driver"); |
58 | 52 | ||