mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/2] pci: shpchp: Remove unused callback get_mode1_ECC_cap
@ 2019-06-02 15:04 Emanuel Bennici
  2019-06-02 15:04 ` [PATCH 2/2] pci: shpchp: Remove function hpc_get_mode1_ECC_cap Emanuel Bennici
  0 siblings, 1 reply; 2+ messages in thread
From: Emanuel Bennici @ 2019-06-02 15:04 UTC (permalink / raw)
  To: linux-kernel; +Cc: Bjorn Helgaas, Joe Perches

This callback is never invoked/ used in this driver.
Removing this callback does not affect the driver.

Signed-off-by: Emanuel Bennici <benniciemanuel78@gmail.com>
---
 drivers/pci/hotplug/shpchp_hpc.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/pci/hotplug/shpchp_hpc.c b/drivers/pci/hotplug/shpchp_hpc.c
index db047284c291..59f75e567c63 100644
--- a/drivers/pci/hotplug/shpchp_hpc.c
+++ b/drivers/pci/hotplug/shpchp_hpc.c
@@ -905,7 +905,6 @@ static const struct hpc_ops shpchp_hpc_ops = {
 	.get_adapter_status		= hpc_get_adapter_status,

 	.get_adapter_speed		= hpc_get_adapter_speed,
-	.get_mode1_ECC_cap		= hpc_get_mode1_ECC_cap,
 	.get_prog_int			= hpc_get_prog_int,

 	.query_power_fault		= hpc_query_power_fault,
--
2.19.1


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

end of thread, other threads:[~2019-06-02 15:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-02 15:04 [PATCH 1/2] pci: shpchp: Remove unused callback get_mode1_ECC_cap Emanuel Bennici
2019-06-02 15:04 ` [PATCH 2/2] pci: shpchp: Remove function hpc_get_mode1_ECC_cap Emanuel Bennici

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®