summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/pci_root.c
diff options
context:
space:
mode:
authorHanjun Guo <guohanjun@huawei.com>2020-09-24 04:57:02 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2020-09-25 18:25:51 +0200
commitbe690f3ed1d87ac14411772750af98ad7d6cafab (patch)
tree8dfd0083dc2203190eb13db938f2bc8cb40a4102 /drivers/acpi/pci_root.c
parentACPI: event: Remove leftover ACPICA debug code (diff)
downloadlinux-be690f3ed1d87ac14411772750af98ad7d6cafab.tar.xz
linux-be690f3ed1d87ac14411772750af98ad7d6cafab.zip
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>
Diffstat (limited to 'drivers/acpi/pci_root.c')
-rw-r--r--drivers/acpi/pci_root.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/acpi/pci_root.c b/drivers/acpi/pci_root.c
index f90e841c59f5..7a6abd3d10ef 100644
--- a/drivers/acpi/pci_root.c
+++ b/drivers/acpi/pci_root.c
@@ -24,8 +24,6 @@
#include "internal.h"
-#define _COMPONENT ACPI_PCI_COMPONENT
-ACPI_MODULE_NAME("pci_root");
#define ACPI_PCI_ROOT_CLASS "pci_bridge"
#define ACPI_PCI_ROOT_DEVICE_NAME "PCI Root Bridge"
static int acpi_pci_root_add(struct acpi_device *device,