The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] PCI: Remove forgotten function prototype
@ 2025-05-22  8:46 Philipp Stanner
  2025-05-22 10:58 ` Krzysztof Wilczyński
  0 siblings, 1 reply; 2+ messages in thread
From: Philipp Stanner @ 2025-05-22  8:46 UTC (permalink / raw)
  To: Bjorn Helgaas; +Cc: linux-pci, linux-kernel, Philipp Stanner

The subsystem-internal header pci.h still contains the function
prototype of pcim_intx(), which has since been made public in the global
header.

Remove the redundant function prototype.

Signed-off-by: Philipp Stanner <phasta@kernel.org>
---
 drivers/pci/pci.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h
index cfc9e71a4d84..2dd7fa93d95b 100644
--- a/drivers/pci/pci.h
+++ b/drivers/pci/pci.h
@@ -1059,8 +1059,6 @@ static inline pci_power_t mid_pci_get_power_state(struct pci_dev *pdev)
 }
 #endif
 
-int pcim_intx(struct pci_dev *dev, int enable);
-
 /*
  * Config Address for PCI Configuration Mechanism #1
  *
-- 
2.49.0


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

end of thread, other threads:[~2025-05-22 10:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-22  8:46 [PATCH] PCI: Remove forgotten function prototype Philipp Stanner
2025-05-22 10:58 ` Krzysztof Wilczyński

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