|
@@ -1192,9 +1192,6 @@ static int uli526x_suspend(struct pci_dev *pdev, pm_message_t state)
|
|
|
|
|
|
ULI526X_DBUG(0, "uli526x_suspend", 0);
|
|
ULI526X_DBUG(0, "uli526x_suspend", 0);
|
|
|
|
|
|
- if (!netdev_priv(dev))
|
|
|
|
- return 0;
|
|
|
|
-
|
|
|
|
pci_save_state(pdev);
|
|
pci_save_state(pdev);
|
|
|
|
|
|
if (!netif_running(dev))
|
|
if (!netif_running(dev))
|
|
@@ -1228,9 +1225,6 @@ static int uli526x_resume(struct pci_dev *pdev)
|
|
|
|
|
|
ULI526X_DBUG(0, "uli526x_resume", 0);
|
|
ULI526X_DBUG(0, "uli526x_resume", 0);
|
|
|
|
|
|
- if (!netdev_priv(dev))
|
|
|
|
- return 0;
|
|
|
|
-
|
|
|
|
pci_restore_state(pdev);
|
|
pci_restore_state(pdev);
|
|
|
|
|
|
if (!netif_running(dev))
|
|
if (!netif_running(dev))
|