All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] PCI: hotplug: Remove unused function pointer typedef acpiphp_callback
@ 2021-02-16  2:38 Chen Lin
  2021-02-16  3:00 ` Krzysztof Wilczyński
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Chen Lin @ 2021-02-16  2:38 UTC (permalink / raw)
  To: rjw; +Cc: lenb, bhelgaas, linux-acpi, linux-pci, linux-kernel, Chen Lin

From: Chen Lin <chen.lin5@zte.com.cn>

Remove the 'acpiphp_callback' typedef as it is not used.

Signed-off-by: Chen Lin <chen.lin5@zte.com.cn>
---
 drivers/pci/hotplug/acpiphp.h |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/pci/hotplug/acpiphp.h b/drivers/pci/hotplug/acpiphp.h
index a2094c0..a74b274 100644
--- a/drivers/pci/hotplug/acpiphp.h
+++ b/drivers/pci/hotplug/acpiphp.h
@@ -176,9 +176,6 @@ struct acpiphp_attention_info
 int acpiphp_register_hotplug_slot(struct acpiphp_slot *slot, unsigned int sun);
 void acpiphp_unregister_hotplug_slot(struct acpiphp_slot *slot);
 
-/* acpiphp_glue.c */
-typedef int (*acpiphp_callback)(struct acpiphp_slot *slot, void *data);
-
 int acpiphp_enable_slot(struct acpiphp_slot *slot);
 int acpiphp_disable_slot(struct acpiphp_slot *slot);
 u8 acpiphp_get_power_status(struct acpiphp_slot *slot);
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-02-18 23:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-16  2:38 [PATCH] PCI: hotplug: Remove unused function pointer typedef acpiphp_callback Chen Lin
2021-02-16  3:00 ` Krzysztof Wilczyński
2021-02-16 14:36 ` Rafael J. Wysocki
2021-02-18 23:33 ` Bjorn Helgaas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.