From: Michael BRIGHT Date: Thu, 22 Mar 2012 17:42:52 +0000 (+0100) Subject: USB: remove compile warning on gadget/inode.c X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a2457ee691edeffb511dbff9a69008f480192197;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git USB: remove compile warning on gadget/inode.c Removed unused "restart:" label, which was causing compiler warning. Signed-off-by: Michael BRIGHT Signed-off-by: Greg Kroah-Hartman --- 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;