Commit 082155ea authored by Saurabh Karajgaonkar's avatar Saurabh Karajgaonkar Committed by Greg Kroah-Hartman

usb: phy: phy-mxs-usb: Simplify return statement

Replace redundant variable use in return statement.
Signed-off-by: default avatarSaurabh Karajgaonkar <skarajga@visteon.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 135551ea
......@@ -506,11 +506,7 @@ static int mxs_phy_probe(struct platform_device *pdev)
device_set_wakeup_capable(&pdev->dev, true);
ret = usb_add_phy_dev(&mxs_phy->phy);
if (ret)
return ret;
return 0;
return usb_add_phy_dev(&mxs_phy->phy);
}
static int mxs_phy_remove(struct platform_device *pdev)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment