Skip to contentSkip to conversation

ACPI: acpi_drivers.h: Remove the leftover dead code

PATCH New Hanjun Guo 1 participant 2 messages Nov 13, 2020

Subsystems (2)
lore
Share & tools
lore

Hanjun Guo

author
#0 lore raw

PATCH 1/2 ACPI: acpi_drivers.h: Remove the leftover dead code

After commit 5ba8b1c6fe40 ("ACPI: remove dead code"), ACPI_PROCESSOR_LIMIT_* macros are not used anymore, remove it.

---
 include/acpi/acpi_drivers.h | 8 --------
 1 file changed, 8 deletions(-)
include/acpi/acpi_drivers.h +0 -8
index 5eb1759..634f967 100644
@@ -94,14 +94,6 @@ static inline struct pci_dev *acpi_get_pci_dev(acpi_handle handle)
 static inline void pci_acpi_crs_quirks(void) { }
 #endif
 
-/* --------------------------------------------------------------------------
-                                    Processor
-   -------------------------------------------------------------------------- */
-
-#define ACPI_PROCESSOR_LIMIT_NONE	0x00
-#define ACPI_PROCESSOR_LIMIT_INCREMENT	0x01
-#define ACPI_PROCESSOR_LIMIT_DECREMENT	0x02
-
 /*--------------------------------------------------------------------------
                                   Dock Station
   -------------------------------------------------------------------------- */
Signature · 1 line
1.7.12.4
author
#1 lore raw

PATCH 2/2 ACPI: acpi_drivers.h: Update the kernel doc

pci_bind.c is not exist anymore, so just remove all the .c file reference as the c file reference is not useful and avoid future non-consistency update.

---
 include/acpi/acpi_drivers.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/acpi/acpi_drivers.h +2 -2
index 634f967..d4f39a2 100644
@@ -64,14 +64,14 @@
    -------------------------------------------------------------------------- */
 
 
-/* ACPI PCI Interrupt Link (pci_link.c) */
+/* ACPI PCI Interrupt Link */
 
 int acpi_irq_penalty_init(void);
 int acpi_pci_link_allocate_irq(acpi_handle handle, int index, int *triggering,
 			       int *polarity, char **name);
 int acpi_pci_link_free_irq(acpi_handle handle);
 
-/* ACPI PCI Device Binding (pci_bind.c) */
+/* ACPI PCI Device Binding */
 
 struct pci_bus;
 
Signature · 1 line
1.7.12.4