Skip to contentSkip to conversation

vitesse: remove duplicated argument to ||

PATCH In review Maxin B. John 2 participants 2 messages Jul 24, 2014 – Aug 10, 2014

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

PATCH 1/1 vitesse: remove duplicated argument to ||

Remove the duplicated argument to || check

---
 drivers/net/phy/vitesse.c | 1 -
 1 file changed, 1 deletion(-)
drivers/net/phy/vitesse.c +0 -1
index c58fe50..2b29cd8 100644
@@ -126,7 +126,6 @@ static int cis8204_config(struct phy_device *phydev)
 	genphy_config_aneg(phydev);
 
 	if ((phydev->interface == PHY_INTERFACE_MODE_RGMII) ||
-			(phydev->interface == PHY_INTERFACE_MODE_RGMII) ||
 			(phydev->interface == PHY_INTERFACE_MODE_RGMII_TXID) ||
 			(phydev->interface == PHY_INTERFACE_MODE_RGMII_RXID))
 		phy_write(phydev, MDIO_DEVAD_NONE, MIIM_CIS8204_EPHY_CON,
Signature · 1 line
1.9.1
#1 lore raw
Quoted 3 lines · maxin.john at enea.com

Remove the duplicated argument to || check

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140810/023f2e1a/attachment.pgp>