summaryrefslogtreecommitdiff
path: root/drivers/acpi/pci_slot.c
diff options
context:
space:
mode:
authorHanjun Guo <guohanjun@huawei.com>2020-09-24 05:57:02 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2020-09-25 19:25:51 +0300
commitbe690f3ed1d87ac14411772750af98ad7d6cafab (patch)
tree8dfd0083dc2203190eb13db938f2bc8cb40a4102 /drivers/acpi/pci_slot.c
parent3ffa00e88df58f755b1a6ac20949ab09f92086af (diff)
downloadlinux-be690f3ed1d87ac14411772750af98ad7d6cafab.tar.xz
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_slot.c')
-rw-r--r--drivers/acpi/pci_slot.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/acpi/pci_slot.c b/drivers/acpi/pci_slot.c
index ca2461d1bf14..d6cb2c27a23b 100644
--- a/drivers/acpi/pci_slot.c
+++ b/drivers/acpi/pci_slot.c
@@ -28,9 +28,6 @@
static int check_sta_before_sun;
-#define _COMPONENT ACPI_PCI_COMPONENT
-ACPI_MODULE_NAME("pci_slot");
-
#define SLOT_NAME_SIZE 21 /* Inspired by #define in acpiphp.h */
struct acpi_pci_slot {