Author: mjmartin
Date: Fri Sep 24 10:23:01 2010
New Revision: 48858
URL:
http://svn.reactos.org/svn/reactos?rev=48858&view=rev
Log:
[ntoskrnl/ps]
- Remove mistakenly committed ASSERTs that were used during my tests.
Modified:
trunk/reactos/ntoskrnl/ps/thread.c
Modified: trunk/reactos/ntoskrnl/ps/thread.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ps/thread.c?rev=4…
==============================================================================
--- trunk/reactos/ntoskrnl/ps/thread.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ps/thread.c [iso-8859-1] Fri Sep 24 10:23:01 2010
@@ -281,7 +281,6 @@
/* We couldn't create the CID, dereference the thread and fail */
ObDereferenceObject(Thread);
ObDereferenceObject(Process);
- ASSERT(FALSE);
return STATUS_INSUFFICIENT_RESOURCES;
}
@@ -304,7 +303,6 @@
/* Fail */
ObDereferenceObject(Thread);
ObDereferenceObject(Process);
- ASSERT(FALSE);
return STATUS_PROCESS_IS_TERMINATING;
}
@@ -319,7 +317,6 @@
ExReleaseRundownProtection(&Process->RundownProtect);
ObDereferenceObject(Thread);
ObDereferenceObject(Process);
- ASSERT(FALSE);
return Status;
}
@@ -364,8 +361,6 @@
ExReleaseRundownProtection(&Process->RundownProtect);
ObDereferenceObject(Thread);
ObDereferenceObject(Process);
- ASSERT(FALSE);
-
return Status;
}
@@ -441,8 +436,6 @@
/* Dereference completely to kill it */
ObDereferenceObjectEx(Thread, 2);
ObDereferenceObject(Process);
- ASSERT(FALSE);
-
return Status;
}
@@ -526,8 +519,6 @@
/* Close its handle, killing it */
ObCloseHandle(ThreadHandle, PreviousMode);
ObDereferenceObject(Process);
- ASSERT(FALSE);
-
return Status;
}