Skip to contentSkip to conversation

Clean up redundant PHY write line for ULi526x Ethernet driver

PATCH In review [email protected] 1 participant 1 message Oct 2, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 12/13 Clean up redundant PHY write line for ULi526x Ethernet driver

From: Roy Zang <[email protected]>

Clean up redundant PHY write line for ULi526x Ethernet Driver.

---

 drivers/net/tulip/uli526x.c |    1 -
 1 file changed, 1 deletion(-)
drivers/net/tulip/uli526x.c renamed from drivers/net/tulip/uli526x.c~clean-up-redundant-phy-write-line-for-uli526x-ethernet +0 -1
diff -puN drivers/net/tulip/uli526x.c~clean-up-redundant-phy-write-line-for-uli526x-ethernet 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);
 		}
 	}
 }

_