Netdev List
 help / color / mirror / Atom feed
* [patch 12/13] Clean up redundant PHY write line for ULi526x Ethernet driver
@ 2007-10-02 21:11 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2007-10-02 21:11 UTC (permalink / raw)
  To: jeff; +Cc: netdev, akpm, tie-fei.zang, grundler

From: Roy Zang <tie-fei.zang@freescale.com>

Clean up redundant PHY write line for ULi526x Ethernet Driver.

Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
Cc: Jeff Garzik <jeff@garzik.org>
Acked-by: Grant Grundler <grundler@parisc-linux.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 drivers/net/tulip/uli526x.c |    1 -
 1 file changed, 1 deletion(-)

diff -puN drivers/net/tulip/uli526x.c~clean-up-redundant-phy-write-line-for-uli526x-ethernet drivers/net/tulip/uli526x.c
--- a/drivers/net/tulip/uli526x.c~clean-up-redundant-phy-write-line-for-uli526x-ethernet
+++ a/drivers/net/tulip/uli526x.c
@@ -1599,7 +1599,6 @@ static void uli526x_process_mode(struct 
 			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);
 		}
 	}
 }
_

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-10-02 21:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-02 21:11 [patch 12/13] Clean up redundant PHY write line for ULi526x Ethernet driver akpm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox