- We already do this in the SEH block. No need to do it twice.

svn path=/trunk/; revision=37120
This commit is contained in:
Cameron Gutman 2008-10-31 23:34:54 +00:00
parent f327269375
commit 4ed7116ff9

View file

@ -529,10 +529,6 @@ IopGetDeviceDepth(PPLUGPLAY_CONTROL_DEPTH_DATA DepthData)
DeviceNode = IopGetDeviceNode(DeviceObject);
DepthData->Depth = DeviceNode->Level;
ObDereferenceObject(DeviceObject);
_SEH_TRY
{
DepthData->Depth = DeviceNode->Level;
@ -543,6 +539,8 @@ IopGetDeviceDepth(PPLUGPLAY_CONTROL_DEPTH_DATA DepthData)
}
_SEH_END;
ObDereferenceObject(DeviceObject);
return Status;
}