summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMichael BRIGHT <mjbrightfr@gmail.com>2012-03-22 18:42:52 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-06 13:54:01 -0700
commita2457ee691edeffb511dbff9a69008f480192197 (patch)
tree79a191ad0f69dd80de8b99f5c98bce172a60ce60 /drivers
parentda8bfb090c2b30af9f3879443355f7eb1d0fe10a (diff)
USB: remove compile warning on gadget/inode.c
Removed unused "restart:" label, which was causing compiler warning. Signed-off-by: Michael BRIGHT <mjbrightfr+git-kernel@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/gadget/inode.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/gadget/inode.c b/drivers/usb/gadget/inode.c
index 8793f32bab1..e58b1644297 100644
--- a/drivers/usb/gadget/inode.c
+++ b/drivers/usb/gadget/inode.c
@@ -1574,7 +1574,6 @@ static void destroy_ep_files (struct dev_data *dev)
DBG (dev, "%s %d\n", __func__, dev->state);
/* dev->state must prevent interference */
-restart:
spin_lock_irq (&dev->lock);
while (!list_empty(&dev->epfiles)) {
struct ep_data *ep;