aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/usb/phy/phy-am335x.c2
-rw-r--r--drivers/usb/phy/phy-generic.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/drivers/usb/phy/phy-am335x.c b/drivers/usb/phy/phy-am335x.c
index 6370e50649d7..48d41abd1b6b 100644
--- a/drivers/usb/phy/phy-am335x.c
+++ b/drivers/usb/phy/phy-am335x.c
@@ -66,8 +66,6 @@ static int am335x_phy_probe(struct platform_device *pdev)
66 platform_set_drvdata(pdev, am_phy); 66 platform_set_drvdata(pdev, am_phy);
67 67
68 return 0; 68 return 0;
69
70 return ret;
71} 69}
72 70
73static int am335x_phy_remove(struct platform_device *pdev) 71static int am335x_phy_remove(struct platform_device *pdev)
diff --git a/drivers/usb/phy/phy-generic.c b/drivers/usb/phy/phy-generic.c
index fce3a9e9bb5d..db4fc22e4aa6 100644
--- a/drivers/usb/phy/phy-generic.c
+++ b/drivers/usb/phy/phy-generic.c
@@ -271,8 +271,6 @@ static int usb_phy_gen_xceiv_probe(struct platform_device *pdev)
271 platform_set_drvdata(pdev, nop); 271 platform_set_drvdata(pdev, nop);
272 272
273 return 0; 273 return 0;
274
275 return err;
276} 274}
277 275
278static int usb_phy_gen_xceiv_remove(struct platform_device *pdev) 276static int usb_phy_gen_xceiv_remove(struct platform_device *pdev)