summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorMichael BRIGHT <mjbrightfr@gmail.com>2012-03-22 21:42:52 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-07 00:54:01 +0400
commita2457ee691edeffb511dbff9a69008f480192197 (patch)
tree79a191ad0f69dd80de8b99f5c98bce172a60ce60 /drivers/usb
parentda8bfb090c2b30af9f3879443355f7eb1d0fe10a (diff)
downloadlinux-a2457ee691edeffb511dbff9a69008f480192197.tar.xz
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/usb')
-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 8793f32bab11..e58b16442971 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;