瀏覽代碼

PCI/AER: Remove duplicate pcie_port_bus_type declaration

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>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Bjorn Helgaas 7 年之前
父節點
當前提交
16c33b1595
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      drivers/pci/pcie/aer/aerdrv.h

+ 0 - 1
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