summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authormaxin.john@enea.com <maxin.john@enea.com>2014-07-24 12:26:05 +0200
committerTom Rini <trini@ti.com>2014-08-09 11:17:02 -0400
commit79e86ccb3786c8b20004db3fa10a70049456f580 (patch)
treefa9fec2819501fa49e7902deec4170c1e3c6eb64 /drivers/net
parent19ad527d8cba37c8afae5cf783d696b033859b86 (diff)
downloadu-boot-imx-79e86ccb3786c8b20004db3fa10a70049456f580.zip
u-boot-imx-79e86ccb3786c8b20004db3fa10a70049456f580.tar.gz
u-boot-imx-79e86ccb3786c8b20004db3fa10a70049456f580.tar.bz2
vitesse: remove duplicated argument to ||
Remove the duplicated argument to || check Signed-off-by: Maxin B. John <maxin.john@enea.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/phy/vitesse.c1
1 files changed, 0 insertions, 1 deletions
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,