diff options
Diffstat (limited to 'drivers/net/stmmac/stmmac_main.c')
-rw-r--r-- | drivers/net/stmmac/stmmac_main.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/net/stmmac/stmmac_main.c b/drivers/net/stmmac/stmmac_main.c index f1dbc182c8df..730a6fd79ee0 100644 --- a/drivers/net/stmmac/stmmac_main.c +++ b/drivers/net/stmmac/stmmac_main.c | |||
@@ -1846,13 +1846,6 @@ static int stmmac_resume(struct device *dev) | |||
1846 | if (!netif_running(ndev)) | 1846 | if (!netif_running(ndev)) |
1847 | return 0; | 1847 | return 0; |
1848 | 1848 | ||
1849 | if (priv->shutdown) { | ||
1850 | /* Re-open the interface and re-init the MAC/DMA | ||
1851 | and the rings (i.e. on hibernation stage) */ | ||
1852 | stmmac_open(dev); | ||
1853 | return 0; | ||
1854 | } | ||
1855 | |||
1856 | spin_lock(&priv->lock); | 1849 | spin_lock(&priv->lock); |
1857 | 1850 | ||
1858 | /* Power Down bit, into the PM register, is cleared | 1851 | /* Power Down bit, into the PM register, is cleared |