net: stmmac: never call stmmac_init_tx_coalesce from stmmac_resume

stmmac_init_tx_coalesce will reinit timer when timer is running.

Change-Id: I9db89510858f773a2681f0cd5da22526058a295f
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
This commit is contained in:
Tao Huang
2019-08-03 18:07:37 +08:00
parent 76cab79417
commit 72cb0efd59

View File

@@ -3138,7 +3138,6 @@ int stmmac_resume(struct device *dev)
stmmac_clear_descriptors(priv);
stmmac_hw_setup(ndev, false);
stmmac_init_tx_coalesce(priv);
stmmac_set_rx_mode(ndev);
napi_enable(&priv->napi);