Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

usb: phy: phy-keystone: Simplify return statement

Replace redundant variable use in return statement.

Signed-off-by: Saurabh Karajgaonkar <skarajga@visteon.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>

authored by

Saurabh Karajgaonkar and committed by
Felipe Balbi
c5673f5c 4b68b50f

+1 -5
+1 -5
drivers/usb/phy/phy-keystone.c
··· 96 96 97 97 platform_set_drvdata(pdev, k_phy); 98 98 99 - ret = usb_add_phy_dev(&k_phy->usb_phy_gen.phy); 100 - if (ret) 101 - return ret; 102 - 103 - return 0; 99 + return usb_add_phy_dev(&k_phy->usb_phy_gen.phy); 104 100 } 105 101 106 102 static int keystone_usbphy_remove(struct platform_device *pdev)