mirror of https://github.com/xzeldon/htop.git
Remove dead code
This commit is contained in:
parent
d9240999e9
commit
1b2d48bc9a
|
@ -1435,11 +1435,8 @@ static bool LinuxProcessList_recurseProcTree(LinuxProcessList* this, openat_arg_
|
|||
if (settings->showThreadNames || Process_isKernelThread(proc)) {
|
||||
proc->basenameOffset = -1;
|
||||
free_and_xStrdup(&proc->comm, command);
|
||||
} else if (settings->showThreadNames) {
|
||||
if (! LinuxProcessList_readCmdlineFile(proc, procFd)) {
|
||||
goto errorReadingProcess;
|
||||
}
|
||||
}
|
||||
|
||||
if (Process_isKernelThread(proc)) {
|
||||
pl->kernelThreads++;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue