From: Axel Lin Date: Sun, 1 Mar 2015 14:28:23 +0000 (+0800) Subject: phy: twl4030-usb: Remove redundant assignment for twl->linkstat X-Git-Tag: v4.0-rc5~6^2~5^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8f27f167de5cd8260ad1ad3bb8166363de6f2620;p=thirdparty%2Fkernel%2Flinux.git phy: twl4030-usb: Remove redundant assignment for twl->linkstat It's pointless to set twl->linkstat twice. Signed-off-by: Axel Lin Signed-off-by: Kishon Vijay Abraham I --- diff --git a/drivers/phy/phy-twl4030-usb.c b/drivers/phy/phy-twl4030-usb.c index 8e87f54671f32..bc42d6a8939f4 100644 --- a/drivers/phy/phy-twl4030-usb.c +++ b/drivers/phy/phy-twl4030-usb.c @@ -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;