summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorRoy Zang <tie-fei.zang@freescale.com>2007-09-24 08:57:42 (GMT)
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 23:53:45 (GMT)
commit7a1f8104c4a477feaf8b4405429119276341a27e (patch)
tree0659fd23c9c22872b60d272d4563b2131fcaa89a /drivers/net
parentc7e86e344b3599c0679a4a1f59a27953856f181c (diff)
downloadlinux-7a1f8104c4a477feaf8b4405429119276341a27e.tar.xz
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>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/tulip/uli526x.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/tulip/uli526x.c b/drivers/net/tulip/uli526x.c
index 53c7523..e64bde4 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);
}
}
}