Skip to contentSkip to conversation

PCI: Remove forgotten function prototype

PATCH Applied Philipp Stanner 2 participants 2 messages May 22, 2025 PCI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 PCI: Remove forgotten function prototype

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.

---
 drivers/pci/pci.h | 2 --
 1 file changed, 2 deletions(-)
drivers/pci/pci.h +0 -2
index cfc9e71a4d84..2dd7fa93d95b 100644
@@ -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
  *
Signature · 1 line
2.49.0
#1 lore raw

Hello,

Quoted 8 lines

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.

[...]

Applied to devres, thank you!

[1/1] PCI: Remove forgotten function prototype

      https://git.kernel.org/pci/pci/c/dfc970ad6197

	Krzysztof