Remove excess debugging

svn path=/trunk/; revision=14672
This commit is contained in:
Alex Ionescu 2005-04-18 15:51:21 +00:00
parent 610dd8e8bc
commit c614ba1a5e
3 changed files with 1 additions and 7 deletions

View file

@ -572,10 +572,8 @@ QSI_DEF(SystemProcessInformation)
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 @@ QSI_DEF(SystemProcessInformation)
// 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 @@ QSI_DEF(SystemProcessInformation)
}
pr = PsGetNextProcess(pr);
DPRINT1("next proc: %x\n", pr);
nThreads = 0;
if ((pr == syspr) || (pr == NULL))
{
@ -692,7 +688,6 @@ QSI_DEF(SystemProcessInformation)
}
*ReqSize = ovlSize;
DPRINT1("done\n");
return (STATUS_SUCCESS);
}

View file

@ -160,7 +160,6 @@ PspDeleteProcess(PVOID ObjectBody)
}
/* KDB hook */
DPRINT1("deleted: %d\n", Process->UniqueProcessId);
KDB_DELETEPROCESS_HOOK(Process);
/* Dereference the Token and release Memory Information */

View file

@ -567,7 +567,7 @@ NtCreateThread (
/* 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);