Commit a9d2a6df authored by Kenji Kaneshige's avatar Kenji Kaneshige Committed by Jesse Barnes

PCI: PCIe: Remove the port driver module exit routine

The PCIe port driver's module exit routine is never used, so drop it.
Signed-off-by: default avatarKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
Reviewed-by: default avatarHidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
parent 271fb719
...@@ -346,11 +346,4 @@ static int __init pcie_portdrv_init(void) ...@@ -346,11 +346,4 @@ static int __init pcie_portdrv_init(void)
return retval; return retval;
} }
static void __exit pcie_portdrv_exit(void)
{
pci_unregister_driver(&pcie_portdriver);
pcie_port_bus_unregister();
}
module_init(pcie_portdrv_init); module_init(pcie_portdrv_init);
module_exit(pcie_portdrv_exit);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment