Remove excess debugging
Modified: trunk/reactos/ntoskrnl/ex/sysinfo.c
Modified: trunk/reactos/ntoskrnl/ps/kill.c
Modified: trunk/reactos/ntoskrnl/ps/thread.c
_____
Modified: trunk/reactos/ntoskrnl/ex/sysinfo.c
--- trunk/reactos/ntoskrnl/ex/sysinfo.c 2005-04-18 15:49:57 UTC (rev
14671)
+++ trunk/reactos/ntoskrnl/ex/sysinfo.c 2005-04-18 15:51:21 UTC (rev
14672)
@@ -572,10 +572,8 @@
return (STATUS_INFO_LENGTH_MISMATCH); // in case buffer
size is too small
}
- DPRINT1("getting next proc\n");
syspr = PsGetNextProcess(NULL);
pr = syspr;
- DPRINT1("next proc: %x\n", pr);
pCur = (unsigned char *)Spi;
do
@@ -663,7 +661,6 @@
// SpiCur->Threads[i].CreateTime = current->CreateTime;
SpiCur->Threads[i].WaitTime = current->Tcb.WaitTime;
SpiCur->Threads[i].StartAddress = (PVOID)
current->StartAddress;
- DPRINT1("cid: %d\n", current->Cid.UniqueThread);
SpiCur->Threads[i].ClientId = current->Cid;
SpiCur->Threads[i].Priority = current->Tcb.Priority;
SpiCur->Threads[i].BasePriority =
current->Tcb.BasePriority;
@@ -675,7 +672,6 @@
}
pr = PsGetNextProcess(pr);
- DPRINT1("next proc: %x\n", pr);
nThreads = 0;
if ((pr == syspr) || (pr == NULL))
{
@@ -692,7 +688,6 @@
}
*ReqSize = ovlSize;
- DPRINT1("done\n");
return (STATUS_SUCCESS);
}
_____
Modified: trunk/reactos/ntoskrnl/ps/kill.c
--- trunk/reactos/ntoskrnl/ps/kill.c 2005-04-18 15:49:57 UTC (rev
14671)
+++ trunk/reactos/ntoskrnl/ps/kill.c 2005-04-18 15:51:21 UTC (rev
14672)
@@ -160,7 +160,6 @@
}
/* KDB hook */
- DPRINT1("deleted: %d\n", Process->UniqueProcessId);
KDB_DELETEPROCESS_HOOK(Process);
/* Dereference the Token and release Memory Information */
_____
Modified: trunk/reactos/ntoskrnl/ps/thread.c
--- trunk/reactos/ntoskrnl/ps/thread.c 2005-04-18 15:49:57 UTC (rev
14671)
+++ trunk/reactos/ntoskrnl/ps/thread.c 2005-04-18 15:51:21 UTC (rev
14672)
@@ -567,7 +567,7 @@
/* create a client id handle */
Status = PsCreateCidHandle (
Thread, PsThreadType, &Thread->Cid.UniqueThread);
- DPRINT1("cid: %d\n", Thread->Cid.UniqueThread);
+
if (!NT_SUCCESS(Status))
{
ObDereferenceObject(Thread);
Show replies by date