diff options
Diffstat (limited to 'drivers/atm/fore200e.c')
-rw-r--r-- | drivers/atm/fore200e.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/atm/fore200e.c b/drivers/atm/fore200e.c index 196b33644627..9e65bfb85ba3 100644 --- a/drivers/atm/fore200e.c +++ b/drivers/atm/fore200e.c | |||
@@ -2792,8 +2792,6 @@ static void __devexit fore200e_pca_remove_one(struct pci_dev *pci_dev) | |||
2792 | 2792 | ||
2793 | fore200e = pci_get_drvdata(pci_dev); | 2793 | fore200e = pci_get_drvdata(pci_dev); |
2794 | 2794 | ||
2795 | list_del(&fore200e->entry); | ||
2796 | |||
2797 | fore200e_shutdown(fore200e); | 2795 | fore200e_shutdown(fore200e); |
2798 | kfree(fore200e); | 2796 | kfree(fore200e); |
2799 | pci_disable_device(pci_dev); | 2797 | pci_disable_device(pci_dev); |
@@ -2850,7 +2848,7 @@ fore200e_module_init(void) | |||
2850 | } | 2848 | } |
2851 | 2849 | ||
2852 | #ifdef CONFIG_ATM_FORE200E_PCA | 2850 | #ifdef CONFIG_ATM_FORE200E_PCA |
2853 | if (!pci_module_init(&fore200e_pca_driver)) | 2851 | if (!pci_register_driver(&fore200e_pca_driver)) |
2854 | return 0; | 2852 | return 0; |
2855 | #endif | 2853 | #endif |
2856 | 2854 | ||