]> git.karo-electronics.de Git - linux-beck.git/commitdiff
usb: dwc3: core: stray statements are removed
authorKishon Vijay Abraham I <kishon@ti.com>
Fri, 25 Jan 2013 03:00:55 +0000 (08:30 +0530)
committerFelipe Balbi <balbi@ti.com>
Fri, 25 Jan 2013 07:19:49 +0000 (09:19 +0200)
No functional change. Stray statements where removed from dwc3 core.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/core.c

index f994d318df9ac890335921570702e2155a006729..177f4c61acab915ec2dc412b8fd4192c89ea0702 100644 (file)
@@ -553,9 +553,6 @@ err0:
 static int dwc3_remove(struct platform_device *pdev)
 {
        struct dwc3     *dwc = platform_get_drvdata(pdev);
-       struct resource *res;
-
-       res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
 
        usb_phy_set_suspend(dwc->usb2_phy, 1);
        usb_phy_set_suspend(dwc->usb3_phy, 1);