mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
[USBEHCI]
- Don't acquire spinlock twice svn path=/branches/usb-bringup-trunk/; revision=55090
This commit is contained in:
parent
99926db97d
commit
b434c46463
1 changed files with 7 additions and 5 deletions
|
@ -580,16 +580,18 @@ CUSBQueue::QueueHeadCompletion(
|
|||
//
|
||||
// now unlink the queue head
|
||||
// FIXME: implement chained queue heads
|
||||
// no need to acquire locks, as it is called with locks held
|
||||
//
|
||||
|
||||
KeAcquireSpinLock(&m_Lock, &OldLevel);
|
||||
|
||||
//
|
||||
// unlink queue head
|
||||
//
|
||||
UnlinkQueueHead(CurrentQH);
|
||||
|
||||
//
|
||||
// insert into completed list
|
||||
//
|
||||
InsertTailList(&m_CompletedRequestAsyncList, &CurrentQH->LinkedQueueHeads);
|
||||
|
||||
KeReleaseSpinLock(&m_Lock, OldLevel);
|
||||
|
||||
}
|
||||
|
||||
VOID
|
||||
|
|
Loading…
Reference in a new issue