ACPI: acpi_drivers.h: Remove the leftover dead code
Subsystems (2)
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.
Signed-off-by Hanjun Guo <[email protected]>
--- include/acpi/acpi_drivers.h | 8 -------- 1 file changed, 8 deletions(-)
include/acpi/acpi_drivers.h +0 -8
@@ -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
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.
Signed-off-by Hanjun Guo <[email protected]>
--- include/acpi/acpi_drivers.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
include/acpi/acpi_drivers.h +2 -2
@@ -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