[bus] Remove unused member SpinLock
authorShao Miller <Shao.Miller@yrdsb.edu.on.ca>
Sun, 19 Dec 2010 15:56:46 +0000 (10:56 -0500)
committerShao Miller <Shao.Miller@yrdsb.edu.on.ca>
Sun, 19 Dec 2010 15:56:46 +0000 (10:56 -0500)
src/include/bus.h
src/winvblock/bus/bus.c

index d3b46bd..95e4dc9 100644 (file)
@@ -45,7 +45,6 @@ typedef struct WV_BUS_T {
     PDEVICE_OBJECT PhysicalDeviceObject;
     winvblock__uint32 Children;
     struct device__type * first_child;
-    KSPIN_LOCK SpinLock;
     WV_FP_BUS_THREAD Thread;
     KEVENT ThreadSignal;
     winvblock__bool Stop;
index a5e0586..dc4ce34 100644 (file)
@@ -259,7 +259,6 @@ winvblock__lib_func void WvBusInit(WV_SP_BUS_T bus) {
     bus->Dev = dev;
     bus->BusPrivate_.PrevFree = dev->ops.free;
     bus->Thread = bus__default_thread_;
-    KeInitializeSpinLock(&bus->SpinLock);
     KeInitializeSpinLock(&bus->BusPrivate_.WorkItemsLock);
     InitializeListHead(&bus->BusPrivate_.WorkItems);
     KeInitializeEvent(&bus->ThreadSignal, SynchronizationEvent, FALSE);