From: Roy Zang Date: Mon, 24 Sep 2007 08:57:42 +0000 (+0800) Subject: Clean up redundant PHY write line for ULi526x Ethernet driver X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7a1f8104c4a477feaf8b4405429119276341a27e;p=linux-beck.git 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 Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/tulip/uli526x.c b/drivers/net/tulip/uli526x.c index 53c7523960c4..e64bde46822e 100644 --- a/drivers/net/tulip/uli526x.c +++ b/drivers/net/tulip/uli526x.c @@ -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); } } }