mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 16:44:58 +02:00
net: atheros: remove dead code in atl1c_resume()
This code has been marked dead for nearly 10 years. Remove it. Signed-off-by: Jason Yan <yanaijie@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
49d4c392cc
commit
f9a98f901e
|
|
@ -2449,12 +2449,6 @@ static int atl1c_resume(struct device *dev)
|
|||
atl1c_reset_mac(&adapter->hw);
|
||||
atl1c_phy_init(&adapter->hw);
|
||||
|
||||
#if 0
|
||||
AT_READ_REG(&adapter->hw, REG_PM_CTRLSTAT, &pm_data);
|
||||
pm_data &= ~PM_CTRLSTAT_PME_EN;
|
||||
AT_WRITE_REG(&adapter->hw, REG_PM_CTRLSTAT, pm_data);
|
||||
#endif
|
||||
|
||||
netif_device_attach(netdev);
|
||||
if (netif_running(netdev))
|
||||
atl1c_up(adapter);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user