Re: [PATCH] PCI: hotplug: Remove unused function pointer typedef acpiphp_callback

2021-02-18 Thread Bjorn Helgaas
On Tue, Feb 16, 2021 at 10:38:40AM +0800, Chen Lin wrote: > From: Chen Lin > > Remove the 'acpiphp_callback' typedef as it is not used. > > Signed-off-by: Chen Lin Applied to pci/hotplug for v5.12, thanks! > --- > drivers/pci/hotplug/acpiphp.h |3 --- > 1 file changed, 3 deletions(-) >

Re: [PATCH] PCI: hotplug: Remove unused function pointer typedef acpiphp_callback

2021-02-16 Thread Rafael J. Wysocki
On Tue, Feb 16, 2021 at 3:40 AM Chen Lin wrote: > > From: Chen Lin > > Remove the 'acpiphp_callback' typedef as it is not used. > > Signed-off-by: Chen Lin Reviewed-by: Rafael J. Wysocki > --- > drivers/pci/hotplug/acpiphp.h |3 --- > 1 file changed, 3 deletions(-) > > diff --git

Re: [PATCH] PCI: hotplug: Remove unused function pointer typedef acpiphp_callback

2021-02-15 Thread Krzysztof WilczyƄski
Hi Chen, > Remove the 'acpiphp_callback' typedef as it is not used. [...] Good catch! This typedef was initially added in 2005, and then it stopped being used around the Kernel version 3.7 release, which is also when the sole user of this typedef called acpiphp_for_each_slot() has also been

[PATCH] PCI: hotplug: Remove unused function pointer typedef acpiphp_callback

2021-02-15 Thread Chen Lin
From: Chen Lin Remove the 'acpiphp_callback' typedef as it is not used. Signed-off-by: Chen Lin --- 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 ---