Skip to contentSkip to conversation

phy: twl4030-usb: Remove redundant assignment for twl->linkstat

PATCH In review Axel Lin 2 participants 2 messages Mar 1, 2015 – Mar 9, 2015 Generic PHY framework

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 phy: twl4030-usb: Remove redundant assignment for twl->linkstat

It's pointless to set twl->linkstat twice.

---
 drivers/phy/phy-twl4030-usb.c | 1 -
 1 file changed, 1 deletion(-)
drivers/phy/phy-twl4030-usb.c +0 -1
index 8e87f54..bc42d6a 100644
@@ -666,7 +666,6 @@ static int twl4030_usb_probe(struct platform_device *pdev)
 	twl->dev		= &pdev->dev;
 	twl->irq		= platform_get_irq(pdev, 0);
 	twl->vbus_supplied	= false;
-	twl->linkstat		= -EINVAL;
 	twl->linkstat		= OMAP_MUSB_UNKNOWN;
 
 	twl->phy.dev		= twl->dev;
Signature · 1 line
1.9.1