diff options
Diffstat (limited to 'drivers/net/ethernet/realtek')
-rw-r--r-- | drivers/net/ethernet/realtek/8139cp.c | 1 | ||||
-rw-r--r-- | drivers/net/ethernet/realtek/8139too.c | 1 | ||||
-rw-r--r-- | drivers/net/ethernet/realtek/r8169.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/ethernet/realtek/8139cp.c b/drivers/net/ethernet/realtek/8139cp.c index d2e591955bdd..f2a2128165dd 100644 --- a/drivers/net/ethernet/realtek/8139cp.c +++ b/drivers/net/ethernet/realtek/8139cp.c | |||
@@ -2052,7 +2052,6 @@ static void cp_remove_one (struct pci_dev *pdev) | |||
2052 | pci_release_regions(pdev); | 2052 | pci_release_regions(pdev); |
2053 | pci_clear_mwi(pdev); | 2053 | pci_clear_mwi(pdev); |
2054 | pci_disable_device(pdev); | 2054 | pci_disable_device(pdev); |
2055 | pci_set_drvdata(pdev, NULL); | ||
2056 | free_netdev(dev); | 2055 | free_netdev(dev); |
2057 | } | 2056 | } |
2058 | 2057 | ||
diff --git a/drivers/net/ethernet/realtek/8139too.c b/drivers/net/ethernet/realtek/8139too.c index 3ccedeb8aba0..50a92104dd0a 100644 --- a/drivers/net/ethernet/realtek/8139too.c +++ b/drivers/net/ethernet/realtek/8139too.c | |||
@@ -727,7 +727,6 @@ static void __rtl8139_cleanup_dev (struct net_device *dev) | |||
727 | pci_release_regions (pdev); | 727 | pci_release_regions (pdev); |
728 | 728 | ||
729 | free_netdev(dev); | 729 | free_netdev(dev); |
730 | pci_set_drvdata (pdev, NULL); | ||
731 | } | 730 | } |
732 | 731 | ||
733 | 732 | ||
diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c index 3397cee89777..799387570766 100644 --- a/drivers/net/ethernet/realtek/r8169.c +++ b/drivers/net/ethernet/realtek/r8169.c | |||
@@ -6811,7 +6811,6 @@ static void rtl_remove_one(struct pci_dev *pdev) | |||
6811 | 6811 | ||
6812 | rtl_disable_msi(pdev, tp); | 6812 | rtl_disable_msi(pdev, tp); |
6813 | rtl8169_release_board(pdev, dev, tp->mmio_addr); | 6813 | rtl8169_release_board(pdev, dev, tp->mmio_addr); |
6814 | pci_set_drvdata(pdev, NULL); | ||
6815 | } | 6814 | } |
6816 | 6815 | ||
6817 | static const struct net_device_ops rtl_netdev_ops = { | 6816 | static const struct net_device_ops rtl_netdev_ops = { |