PCI / hotplug / ACPI: Drop unused acpiphp_debug declaration
PATCH 1/1 PCI / hotplug / ACPI: Drop unused acpiphp_debug declaration
Commit bd950799d951 (PCI: acpiphp: Convert to dynamic debug) removed users of acpiphp_debug variable and the variable itself but the declaration was left in the header file. Drop this unused declaration.
--- drivers/pci/hotplug/acpiphp.h | 1 - 1 file changed, 1 deletion(-)
drivers/pci/hotplug/acpiphp.h +0 -1
@@ -176,7 +176,6 @@ u8 acpiphp_get_latch_status(struct acpiphp_slot *slot);u8 acpiphp_get_adapter_status (struct acpiphp_slot *slot);/* variables */ -extern bool acpiphp_debug;extern bool acpiphp_disabled;#endif /* _ACPIPHP_H */
Signature · 1 line
1.8.4.3
Quoted 5 lines · Mika Westerberg
Commit
bd950799d951(PCI: acpiphp: Convert to dynamic debug) removed users ofacpiphp_debugvariable and the variable itself but the declaration was left in the header file. Drop this unused declaration.Signed-off-by Mika Westerberg <[email protected]>
Rafael, if it makes sense for you to apply this, you can add my:
Otherwise I can pick it up.
Quoted 19 lines
--- drivers/pci/hotplug/acpiphp.h | 1 - 1 file changed, 1 deletion(-)drivers/pci/hotplug/acpiphp.h +0
-2@@ -176,7 +176,6 @@ u8 acpiphp_get_latch_status(struct acpiphp_slot *slot);u8 acpiphp_get_adapter_status (struct acpiphp_slot *slot);/* variables */ -extern bool acpiphp_debug;extern bool acpiphp_disabled;#endif /* _ACPIPHP_H */ --1.8.4.3
Rafael J. Wysocki
AppliedQuoted 6 lines · Bjorn Helgaas
Quoted 4 lines · Mika Westerberg
Commit
bd950799d951(PCI: acpiphp: Convert to dynamic debug) removed users ofacpiphp_debugvariable and the variable itself but the declaration was left in the header file. Drop this unused declaration.
Quoted 7 lines
Quoted 1 line
Signed-off-by Mika Westerberg <[email protected]>Rafael, if it makes sense for you to apply this, you can add my:
Acked-by Bjorn Helgaas <[email protected]>Otherwise I can pick it up.
Applied, thanks!
I'm going to send my next pull request tomorrow.
Quoted 19 lines
Quoted 19 lines
--- drivers/pci/hotplug/acpiphp.h | 1 - 1 file changed, 1 deletion(-)drivers/pci/hotplug/acpiphp.h +0
-2@@ -176,7 +176,6 @@ u8 acpiphp_get_latch_status(struct acpiphp_slot *slot);u8 acpiphp_get_adapter_status (struct acpiphp_slot *slot);/* variables */ -extern bool acpiphp_debug;extern bool acpiphp_disabled;#endif /* _ACPIPHP_H */ --1.8.4.3
Signature · 2 lines
I speak only for myself. Rafael J. Wysocki, Intel Open Source Technology Center.