summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoy Zang <tie-fei.zang@freescale.com>2007-09-24 10:57:42 +0200
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-11 01:53:45 +0200
commit7a1f8104c4a477feaf8b4405429119276341a27e (patch)
tree0659fd23c9c22872b60d272d4563b2131fcaa89a
parentdgrs: remove from build, config, and maintainer list (diff)
downloadlinux-7a1f8104c4a477feaf8b4405429119276341a27e.tar.xz
linux-7a1f8104c4a477feaf8b4405429119276341a27e.zip
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>
-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 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);
}
}
}