phy: twl4030-usb: Remove redundant assignment for twl->linkstat
PATCH 1/1 phy: twl4030-usb: Remove redundant assignment for twl->linkstat
It's pointless to set twl->linkstat twice.
Signed-off-by Axel Lin <[email protected]>
--- drivers/phy/phy-twl4030-usb.c | 1 - 1 file changed, 1 deletion(-)
drivers/phy/phy-twl4030-usb.c +0 -1
@@ -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
Quoted 3 lines · Axel Lin
It's pointless to set
twl->linkstattwice.Signed-off-by Axel Lin <[email protected]>
please resend with linux-usb in Cc
Signature · 1 line
balbi