Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8f27f167 authored by Axel Lin's avatar Axel Lin Committed by Kishon Vijay Abraham I
Browse files

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



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

Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
parent ecd5fb02
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;