]> git.sur5r.net Git - u-boot/commitdiff
vitesse: remove duplicated argument to ||
authormaxin.john@enea.com <maxin.john@enea.com>
Thu, 24 Jul 2014 10:26:05 +0000 (12:26 +0200)
committerTom Rini <trini@ti.com>
Sat, 9 Aug 2014 15:17:02 +0000 (11:17 -0400)
Remove the duplicated argument to || check

Signed-off-by: Maxin B. John <maxin.john@enea.com>
drivers/net/phy/vitesse.c

index c58fe50b7206e8d6fd5e78e9dfaf8f510306d85f..2b29cd89f84d179c08de40620eccdd01d94bb250 100644 (file)
@@ -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,