Commit a2457ee6 authored by Michael BRIGHT's avatar Michael BRIGHT Committed by Greg Kroah-Hartman

USB: remove compile warning on gadget/inode.c

Removed unused "restart:" label, which was causing compiler warning.
Signed-off-by: default avatarMichael BRIGHT <mjbrightfr+git-kernel@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent da8bfb09
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment