PCI: PCIe: Remove the port driver module exit routine
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Fri, 20 Aug 2010 23:59:10 +0000 (01:59 +0200)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 24 Aug 2010 20:47:49 +0000 (13:47 -0700)
The PCIe port driver's module exit routine is never used, so drop it.

Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Reviewed-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pcie/portdrv_pci.c

index 8f1338d1c53facf5bb9a1b8f5c72f433d1ac411b..f9033e190fb62060e701ebf44b0eb1d3dfbefa90 100644 (file)
@@ -346,11 +346,4 @@ static int __init pcie_portdrv_init(void)
        return retval;
 }
 
-static void __exit pcie_portdrv_exit(void)
-{
-       pci_unregister_driver(&pcie_portdriver);
-       pcie_port_bus_unregister();
-}
-
 module_init(pcie_portdrv_init);
-module_exit(pcie_portdrv_exit);