diff options
Diffstat (limited to 'drivers/net/igb/igb_main.c')
-rw-r--r-- | drivers/net/igb/igb_main.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/igb/igb_main.c b/drivers/net/igb/igb_main.c index b59088eace1d..cb3ac349f3b3 100644 --- a/drivers/net/igb/igb_main.c +++ b/drivers/net/igb/igb_main.c | |||
@@ -1329,7 +1329,6 @@ err_eeprom: | |||
1329 | if (hw->flash_address) | 1329 | if (hw->flash_address) |
1330 | iounmap(hw->flash_address); | 1330 | iounmap(hw->flash_address); |
1331 | 1331 | ||
1332 | igb_remove_device(hw); | ||
1333 | igb_free_queues(adapter); | 1332 | igb_free_queues(adapter); |
1334 | err_sw_init: | 1333 | err_sw_init: |
1335 | err_hw_init: | 1334 | err_hw_init: |
@@ -1389,7 +1388,6 @@ static void __devexit igb_remove(struct pci_dev *pdev) | |||
1389 | if (!igb_check_reset_block(&adapter->hw)) | 1388 | if (!igb_check_reset_block(&adapter->hw)) |
1390 | igb_reset_phy(&adapter->hw); | 1389 | igb_reset_phy(&adapter->hw); |
1391 | 1390 | ||
1392 | igb_remove_device(&adapter->hw); | ||
1393 | igb_reset_interrupt_capability(adapter); | 1391 | igb_reset_interrupt_capability(adapter); |
1394 | 1392 | ||
1395 | igb_free_queues(adapter); | 1393 | igb_free_queues(adapter); |