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

Commit 39189c98 authored by Michal Nazarewicz's avatar Michal Nazarewicz Committed by Felipe Balbi
Browse files

usb: phy: remove dead code



Commit [4d175f34: usb: phy: nop: Defer clock prepare until PHY init]
removed a goto reaching behind a “return ret” at the end of the function
thus removing the only possible way that statement could be reached, and
so rendering it a dead code.  This commit cleans it up by removing said
dead code.

Signed-off-by: default avatarMichal Nazarewicz <mina86@mina86.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 6ce4eac1
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -66,8 +66,6 @@ static int am335x_phy_probe(struct platform_device *pdev)
	platform_set_drvdata(pdev, am_phy);

	return 0;

	return ret;
}

static int am335x_phy_remove(struct platform_device *pdev)
+0 −2
Original line number Diff line number Diff line
@@ -271,8 +271,6 @@ static int usb_phy_gen_xceiv_probe(struct platform_device *pdev)
	platform_set_drvdata(pdev, nop);

	return 0;

	return err;
}

static int usb_phy_gen_xceiv_remove(struct platform_device *pdev)