[U-Boot] [PATCH] vitesse: remove duplicated argument to ||

Maxin B. John maxin.john at enea.com
Thu Jul 24 12:26:05 CEST 2014


Remove the duplicated argument to || check

Signed-off-by: Maxin B. John <maxin.john at enea.com>
---
 drivers/net/phy/vitesse.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/net/phy/vitesse.c b/drivers/net/phy/vitesse.c
index c58fe50..2b29cd8 100644
--- a/drivers/net/phy/vitesse.c
+++ b/drivers/net/phy/vitesse.c
@@ -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,
-- 
1.9.1



More information about the U-Boot mailing list