mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-11 08:18:47 +00:00
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>
This commit is contained in:
parent
271fb719cc
commit
a9d2a6df11
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user