]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/net/ethernet/atheros/atl1c/atl1c_main.c
atl1c: remove REG_PHY_STATUS
[karo-tx-linux.git] / drivers / net / ethernet / atheros / atl1c / atl1c_main.c
index df106370eb6d52fdad2d23ed19c608eaf846a203..a6c3f05e5dbec4b6713b0a020f56906bcfffd06f 100644 (file)
@@ -699,11 +699,9 @@ static void atl1c_set_mac_type(struct atl1c_hw *hw)
 
 static int atl1c_setup_mac_funcs(struct atl1c_hw *hw)
 {
-       u32 phy_status_data;
        u32 link_ctrl_data;
 
        atl1c_set_mac_type(hw);
-       AT_READ_REG(hw, REG_PHY_STATUS, &phy_status_data);
        AT_READ_REG(hw, REG_LINK_CTRL, &link_ctrl_data);
 
        hw->ctrl_flags = ATL1C_INTR_MODRT_ENABLE  |