]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Staging: octeon-hcd: removed dummy label
authorNitin Kuppelur <nitinkuppelur@gmail.com>
Wed, 10 Sep 2014 01:36:24 +0000 (03:36 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 Sep 2014 21:49:13 +0000 (14:49 -0700)
This is a patch to the octeon-hcd.c file that fixes
removes dummy label i.e. label followed by return of
void function

Signed-off-by: Nitin Kuppelur <nitinkuppelur@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/octeon-usb/octeon-hcd.c

index 8a80982c233db941d7a9cdda6febd60ca203c604..5f9db4cbb38170064a3f269d87a1975f67a70b8f 100644 (file)
@@ -2253,7 +2253,7 @@ static void __cvmx_usb_perform_complete(
                        /* Increment to the next location in our packet array */
                        transaction->iso_packets++;
                        transaction->stage = CVMX_USB_STAGE_NON_CONTROL;
-                       goto done;
+                       return;
                }
        }
 
@@ -2266,8 +2266,6 @@ static void __cvmx_usb_perform_complete(
                                         transaction->actual_bytes,
                                         transaction->urb);
        kfree(transaction);
-done:
-       return;
 }