diff options
author | Jason Yan <yanaijie@huawei.com> | 2020-05-07 14:08:36 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-07 23:04:21 +0300 |
commit | f9a98f901e19eb0fbd61c29cf38b75d210d276bc (patch) | |
tree | ac9b6160b5efc52b3b50d0963c79018c2c55fb13 /drivers/net/ethernet/atheros/atl1c/atl1c_main.c | |
parent | 49d4c392cc0186df5ce6f1037afe5131c56d1316 (diff) | |
download | linux-f9a98f901e19eb0fbd61c29cf38b75d210d276bc.tar.xz |
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>
Diffstat (limited to 'drivers/net/ethernet/atheros/atl1c/atl1c_main.c')
-rw-r--r-- | drivers/net/ethernet/atheros/atl1c/atl1c_main.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/ethernet/atheros/atl1c/atl1c_main.c b/drivers/net/ethernet/atheros/atl1c/atl1c_main.c index 04bc53af12d9..decab9a8e4a8 100644 --- a/drivers/net/ethernet/atheros/atl1c/atl1c_main.c +++ b/drivers/net/ethernet/atheros/atl1c/atl1c_main.c @@ -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); |