diff options
author | Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> | 2010-08-20 19:59:10 -0400 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2010-08-24 16:47:49 -0400 |
commit | a9d2a6df11f5b9dc19ad4147374e8b67c4438158 (patch) | |
tree | 44595bbe685feb81e3730895e1edfbc8e3a9572a /drivers | |
parent | 271fb719cc472af3b1e96d8c527bb0da7060a172 (diff) |
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')
-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) | |||
346 | return retval; | 346 | return retval; |
347 | } | 347 | } |
348 | 348 | ||
349 | static void __exit pcie_portdrv_exit(void) | ||
350 | { | ||
351 | pci_unregister_driver(&pcie_portdriver); | ||
352 | pcie_port_bus_unregister(); | ||
353 | } | ||
354 | |||
355 | module_init(pcie_portdrv_init); | 349 | module_init(pcie_portdrv_init); |
356 | module_exit(pcie_portdrv_exit); | ||