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

ACPI: PCI: Remove unused ACPICA debug code

The ACPICA debug code _COMPONENT and ACPI_MODULE_NAME() are
not used, so can be removed.

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

authored by

Hanjun Guo and committed by
Rafael J. Wysocki
be690f3e 3ffa00e8

-5
-2
drivers/acpi/pci_root.c
··· 24 24 25 25 #include "internal.h" 26 26 27 - #define _COMPONENT ACPI_PCI_COMPONENT 28 - ACPI_MODULE_NAME("pci_root"); 29 27 #define ACPI_PCI_ROOT_CLASS "pci_bridge" 30 28 #define ACPI_PCI_ROOT_DEVICE_NAME "PCI Root Bridge" 31 29 static int acpi_pci_root_add(struct acpi_device *device,
-3
drivers/acpi/pci_slot.c
··· 28 28 29 29 static int check_sta_before_sun; 30 30 31 - #define _COMPONENT ACPI_PCI_COMPONENT 32 - ACPI_MODULE_NAME("pci_slot"); 33 - 34 31 #define SLOT_NAME_SIZE 21 /* Inspired by #define in acpiphp.h */ 35 32 36 33 struct acpi_pci_slot {