Skip to contentSkip to conversation

PCI / hotplug / ACPI: Drop unused acpiphp_debug declaration

PATCH Applied Mika Westerberg 3 participants 3 messages Nov 19, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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
index 26100f510b10..1592dbe4f904 100644
@@ -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
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · Mika Westerberg

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.

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
index 26100f510b10..1592dbe4f904 100644
@@ -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

#2 lore raw
Quoted 6 lines · Bjorn Helgaas
Quoted 4 lines · Mika Westerberg

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.

Quoted 7 lines
Quoted 1 line

Rafael, if it makes sense for you to apply this, you can add my:

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
index 26100f510b10..1592dbe4f904 100644
@@ -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.