ACPI: processor: Remove dead ACPICA debug code
authorHanjun Guo <guohanjun@huawei.com>
Thu, 24 Sep 2020 02:57:04 +0000 (10:57 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 25 Sep 2020 16:25:51 +0000 (18:25 +0200)
The ACPICA debug code is not used anywhere in processor_core.c
and processor_thermal.c, remove it.

Signed-off-by: Hanjun Guo <guohanjun@huawei.com>
[ rjw: Subject edit ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/processor_core.c
drivers/acpi/processor_thermal.c

index f32beb7d78827331117f50f324a957f0075fc053..2ac48cda5b2014ad8494a170d3175f3586a76db4 100644 (file)
@@ -14,9 +14,6 @@
 #include <linux/acpi.h>
 #include <acpi/processor.h>
 
-#define _COMPONENT             ACPI_PROCESSOR_COMPONENT
-ACPI_MODULE_NAME("processor_core");
-
 static struct acpi_table_madt *get_madt_table(void)
 {
        static struct acpi_table_madt *madt;
index 41feb88ee92d69380af6e4d30c92199e3e4dd4d1..6c7d05b37c986894ab211d7dd3ff7841b3f3cc02 100644 (file)
@@ -20,8 +20,6 @@
 #define PREFIX "ACPI: "
 
 #define ACPI_PROCESSOR_CLASS            "processor"
-#define _COMPONENT              ACPI_PROCESSOR_COMPONENT
-ACPI_MODULE_NAME("processor_thermal");
 
 #ifdef CONFIG_CPU_FREQ