diff mbox

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

Message ID 1406197565-39881-1-git-send-email-maxin.john@enea.com
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

maxin.john@enea.com July 24, 2014, 10:26 a.m. UTC
Remove the duplicated argument to || check

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

Comments

Tom Rini Aug. 10, 2014, 10:22 p.m. UTC | #1
On Thu, Jul 24, 2014 at 12:26:05PM +0200, maxin.john@enea.com wrote:

> Remove the duplicated argument to || check
> 
> Signed-off-by: Maxin B. John <maxin.john@enea.com>

Applied to u-boot/master, thanks!
diff mbox

Patch

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,