mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-01 14:26:46 +07:00
Clean up redundant PHY write line for ULi526x Ethernet driver
Clean up redundant PHY write line for ULi526x Ethernet Driver. Signed-off-by: Roy Zang <tie-fei.zang@freescale.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
parent
c7e86e344b
commit
7a1f8104c4
@ -1604,7 +1604,6 @@ static void uli526x_process_mode(struct uli526x_board_info *db)
|
||||
case ULI526X_100MFD: phy_reg = 0x2100; break;
|
||||
}
|
||||
phy_write(db->ioaddr, db->phy_addr, 0, phy_reg, db->chip_id);
|
||||
phy_write(db->ioaddr, db->phy_addr, 0, phy_reg, db->chip_id);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user