Skip to contentSkip to conversation

USB: remove compile warning on gadget/inode.c

PATCH Applied Michael BRIGHT 2 participants 2 messages Mar 22, 2012 – Apr 11, 2012 USB

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 USB: remove compile warning on gadget/inode.c

Removed unused "restart:" label, which was causing compiler warning.

---
 drivers/usb/gadget/inode.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
drivers/usb/gadget/inode.c +0 -1
index 8793f32..e58b164 100644
@@ -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;
Signature · 1 line
1.7.9.1