summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNitin Kuppelur <nitinkuppelur@gmail.com>2014-09-10 03:36:24 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-11 14:49:13 -0700
commit15ef0cc12482204b968794b25f9e2805509c686b (patch)
treeea4739421f7659cb860254fe5c7b5feea7f6e670
parent93a9f05ac65d08245269bb97045ef624e03d1f40 (diff)
Staging: octeon-hcd: removed dummy label
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>
-rw-r--r--drivers/staging/octeon-usb/octeon-hcd.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/staging/octeon-usb/octeon-hcd.c b/drivers/staging/octeon-usb/octeon-hcd.c
index 8a80982c233d..5f9db4cbb381 100644
--- a/drivers/staging/octeon-usb/octeon-hcd.c
+++ b/drivers/staging/octeon-usb/octeon-hcd.c
@@ -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;
}