diff mbox

[v1,07/13] PCI/AER: Remove duplicate pcie_port_bus_type declaration

Message ID 152848832893.11888.6593179260714831306.stgit@bhelgaas-glaptop.roam.corp.google.com (mailing list archive)
State New, archived
Delegated to: Bjorn Helgaas
Headers show

Commit Message

Bjorn Helgaas June 8, 2018, 8:05 p.m. UTC
From: Bjorn Helgaas <bhelgaas@google.com>

pcie_port_bus_type is already declared in portdrv.h, so remove the
unnecessary duplicate declaration in aerdrv.h.  No functional change
intended.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
---
 drivers/pci/pcie/aer/aerdrv.h |    1 -
 1 file changed, 1 deletion(-)
diff mbox

Patch

diff --git a/drivers/pci/pcie/aer/aerdrv.h b/drivers/pci/pcie/aer/aerdrv.h
index 7fa902b1f7c1..f4fc71119cf2 100644
--- a/drivers/pci/pcie/aer/aerdrv.h
+++ b/drivers/pci/pcie/aer/aerdrv.h
@@ -76,7 +76,6 @@  struct aer_rpc {
 					 */
 };
 
-extern struct bus_type pcie_port_bus_type;
 irqreturn_t aer_irq(int irq, void *context);
 
 #ifdef CONFIG_ACPI_APEI