[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1410276139-7212-1-git-send-email-nitinkuppelur@gmail.com>
Date: Tue, 9 Sep 2014 17:22:19 +0200
From: Nitin Kuppelur <nitinkuppelur@...il.com>
To: gregkh@...uxfoundation.org
Cc: devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
Nitin Kuppelur <nitinkuppelur@...il.com>
Subject: [PATCH] Staging: octeon-hcd: removed dummy label
This is a patch to the octeon-hcd.c file that
removes dummy label i.e. label followed by return of
void function
Signed-off-by: Nitin Kuppelur <nitinkuppelur@...il.com>
---
drivers/staging/octeon-usb/octeon-hcd.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/drivers/staging/octeon-usb/octeon-hcd.c b/drivers/staging/octeon-usb/octeon-hcd.c
index 8a80982..5fffef2 100644
--- a/drivers/staging/octeon-usb/octeon-hcd.c
+++ b/drivers/staging/octeon-usb/octeon-hcd.c
@@ -2253,9 +2253,8 @@ 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;
}
- }
/* Remove the transaction from the pipe list */
list_del(&transaction->node);
@@ -2266,8 +2265,6 @@ static void __cvmx_usb_perform_complete(
transaction->actual_bytes,
transaction->urb);
kfree(transaction);
-done:
- return;
}
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists