aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sun/niu.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/sun/niu.c')
-rw-r--r--drivers/net/ethernet/sun/niu.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/sun/niu.c b/drivers/net/ethernet/sun/niu.c
index f28460ce24a7..388540fcb977 100644
--- a/drivers/net/ethernet/sun/niu.c
+++ b/drivers/net/ethernet/sun/niu.c
@@ -9875,7 +9875,6 @@ err_out_free_res:
9875 9875
9876err_out_disable_pdev: 9876err_out_disable_pdev:
9877 pci_disable_device(pdev); 9877 pci_disable_device(pdev);
9878 pci_set_drvdata(pdev, NULL);
9879 9878
9880 return err; 9879 return err;
9881} 9880}
@@ -9900,7 +9899,6 @@ static void niu_pci_remove_one(struct pci_dev *pdev)
9900 free_netdev(dev); 9899 free_netdev(dev);
9901 pci_release_regions(pdev); 9900 pci_release_regions(pdev);
9902 pci_disable_device(pdev); 9901 pci_disable_device(pdev);
9903 pci_set_drvdata(pdev, NULL);
9904 } 9902 }
9905} 9903}
9906 9904