summaryrefslogtreecommitdiffstats
path: root/drivers/phy
diff options
context:
space:
mode:
authorAxel Lin2015-03-01 15:28:23 +0100
committerKishon Vijay Abraham I2015-03-13 12:44:36 +0100
commit8f27f167de5cd8260ad1ad3bb8166363de6f2620 (patch)
tree63266e8c5f01225b5177fb96f3ac66e427a1f422 /drivers/phy
parentphy: exynos5-usbdrd: Fix off-by-one valid value checking for args->args[0] (diff)
downloadkernel-qcow2-linux-8f27f167de5cd8260ad1ad3bb8166363de6f2620.tar.gz
kernel-qcow2-linux-8f27f167de5cd8260ad1ad3bb8166363de6f2620.tar.xz
kernel-qcow2-linux-8f27f167de5cd8260ad1ad3bb8166363de6f2620.zip
phy: twl4030-usb: Remove redundant assignment for twl->linkstat
It's pointless to set twl->linkstat twice. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'drivers/phy')
-rw-r--r--drivers/phy/phy-twl4030-usb.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/phy/phy-twl4030-usb.c b/drivers/phy/phy-twl4030-usb.c
index 8e87f54671f3..bc42d6a8939f 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;