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: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
e015268d2f
commit
63f991b287
|
@ -1001,8 +1001,8 @@ static int dummy_urb_enqueue (
|
||||||
if (!timer_pending (&dum->timer))
|
if (!timer_pending (&dum->timer))
|
||||||
mod_timer (&dum->timer, jiffies + 1);
|
mod_timer (&dum->timer, jiffies + 1);
|
||||||
|
|
||||||
spin_unlock_irqrestore (&dum->lock, flags);
|
|
||||||
done:
|
done:
|
||||||
|
spin_unlock_irqrestore(&dum->lock, flags);
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue