diff options
author | Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> | 2010-08-21 01:59:10 +0200 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2010-08-24 13:47:49 -0700 |
commit | a9d2a6df11f5b9dc19ad4147374e8b67c4438158 (patch) | |
tree | 44595bbe685feb81e3730895e1edfbc8e3a9572a /drivers/pci | |
parent | 271fb719cc472af3b1e96d8c527bb0da7060a172 (diff) | |
download | blackbird-op-linux-a9d2a6df11f5b9dc19ad4147374e8b67c4438158.tar.gz blackbird-op-linux-a9d2a6df11f5b9dc19ad4147374e8b67c4438158.zip |
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: 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>
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/pcie/portdrv_pci.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/pci/pcie/portdrv_pci.c b/drivers/pci/pcie/portdrv_pci.c index 8f1338d1c53f..f9033e190fb6 100644 --- a/drivers/pci/pcie/portdrv_pci.c +++ b/drivers/pci/pcie/portdrv_pci.c @@ -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); |