summaryrefslogtreecommitdiff
path: root/general/echo/kmdf/driver/DriverSync/device.c
diff options
context:
space:
mode:
authorWei Mao <[email protected]>2017-06-21 09:41:28 -0700
committerWei Mao <[email protected]>2017-06-21 09:46:42 -0700
commit6a7b5d032d331efe11d1c8f33f399296e529d9b7 (patch)
treeef98ffe35d091fa7711ee7a843ee82d16c8180bd /general/echo/kmdf/driver/DriverSync/device.c
parent72d6e020298b18db58119f6b1ab66f1b917f0deb (diff)
issue #127: Remove timerConfig.AutomaticSerialization = FALSE from KMDF echo sample
Diffstat (limited to 'general/echo/kmdf/driver/DriverSync/device.c')
-rw-r--r--general/echo/kmdf/driver/DriverSync/device.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/general/echo/kmdf/driver/DriverSync/device.c b/general/echo/kmdf/driver/DriverSync/device.c
index c9dbcbb4..23f684e9 100644
--- a/general/echo/kmdf/driver/DriverSync/device.c
+++ b/general/echo/kmdf/driver/DriverSync/device.c
@@ -77,17 +77,6 @@ Return Value:
WDF_OBJECT_ATTRIBUTES_INIT_CONTEXT_TYPE(&attributes, DEVICE_CONTEXT);
- //
- // By not setting the synchronization scope and using the default, there is
- // no locking between any of the callbacks in this driver.
- //
- // We will create a sequential queue so all of the EvtIoXxx callbacks are
- // serialized against each other (at least until the request is completed),
- // but the cancel routine and the timer DPC are not synchronized against the
- // queue's EvtIoXxx callbacks.
- //
- // attributes.SynchronizationScope = ...
-
status = WdfDeviceCreate(&DeviceInit, &attributes, &device);
if (NT_SUCCESS(status)) {