usb: phy: remove trivial dead code
PATCH 1/1 usb: phy: remove trivial dead code
This removes trivial dead code from drivers/usb/phy/phy-am335x.c and drivers/usb/phy/phy-generic.c
Found by Coverity (CID 1127232 and CID 1127231)
Signed-off-by Michael Opdenacker <[email protected]>
--- drivers/usb/phy/phy-am335x.c | 2 -- drivers/usb/phy/phy-generic.c | 2 -- 2 files changed, 4 deletions(-)
drivers/usb/phy/phy-am335x.c +0 -2
@@ -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)
drivers/usb/phy/phy-generic.c +0 -2
@@ -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)
Signature · 1 line
1.8.1.2