Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 63f991b2 authored by Alan Stern's avatar Alan Stern Committed by Greg Kroah-Hartman
Browse files

USB: fix location of statement label in dummy-hcd



This patch (as984) fixes a rather elementary mistake in dummy_hcd.
The new statement label should come before the spin_unlock_irqrestore,
not after it.

Signed-off-by: default avatarAlan Stern <stern@rowland.harvard.edu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent e015268d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1001,8 +1001,8 @@ static int dummy_urb_enqueue (
	if (!timer_pending (&dum->timer))
		mod_timer (&dum->timer, jiffies + 1);

	spin_unlock_irqrestore (&dum->lock, flags);
 done:
	spin_unlock_irqrestore(&dum->lock, flags);
	return rc;
}