Skip to content

Commit

Permalink
Fix merge - duplicate DokanStopCheckThreadInternal #27
Browse files Browse the repository at this point in the history
  • Loading branch information
Liryna committed Jul 18, 2015
1 parent e05cfd4 commit 24ff442
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions sys/timeout.c
Original file line number Diff line number Diff line change
Expand Up @@ -362,15 +362,6 @@ Routine Description:
workItem = IoAllocateWorkItem(Dcb->DeviceObject);
if (workItem != NULL) {
IoQueueWorkItem(workItem, DokanStopCheckThreadInternal, DelayedWorkQueue, workItem);

KeSetEvent(&Dcb->KillEvent, 0, FALSE);

if (Dcb->TimeoutThread) {
KeWaitForSingleObject(Dcb->TimeoutThread, Executive,
KernelMode, FALSE, NULL);
ObDereferenceObject(Dcb->TimeoutThread);
Dcb->TimeoutThread = NULL;
}
} else {
DDbgPrint("Can't create work item.");
}
Expand Down

0 comments on commit 24ff442

Please sign in to comment.