[DRIVERS] Use KeClearEvent instead of KeResetEvent where the previous state is not needed.

This commit is contained in:
Thomas Faber 2017-12-30 11:44:25 +01:00
parent bad1c03529
commit 4f8379a02b
No known key found for this signature in database
GPG key ID: 076E7C3D44720826
9 changed files with 12 additions and 12 deletions

View file

@ -137,7 +137,7 @@ SermouseDeviceWorker(
if (Status != STATUS_TIMEOUT)
{
/* we need to stop the worker thread */
KeResetEvent(&DeviceExtension->StopWorkerThreadEvent);
KeClearEvent(&DeviceExtension->StopWorkerThreadEvent);
break;
}