openbsd: drop unecessary check

This commit is contained in:
Antoine Jacoutot
2014-02-08 11:53:26 +01:00
parent d4d4f7735a
commit 596c42d7f1
7 changed files with 7 additions and 7 deletions

View File

@@ -62,7 +62,7 @@ glibtop_get_proc_state_p (glibtop *server,
/* Get the process information */
pinfo = kvm_getprocs (server->machine.kd, KERN_PROC_PID, pid,
sizeof (*pinfo), &count);
if ((pinfo == NULL) || (count != 1)) {
if (pinfo == NULL) {
glibtop_warn_io_r (server, "kvm_getprocs (%d)", pid);
return;
}