remove nlist check

This commit is contained in:
Doug MacEachern 2008-04-27 01:49:34 +00:00
parent 45c491e859
commit 606a050e3a
1 changed files with 0 additions and 3 deletions

View File

@ -179,9 +179,6 @@ static int get_koffsets(sigar_t *sigar)
} }
kvm_nlist(sigar->kmem, klist); kvm_nlist(sigar->kmem, klist);
if (klist[0].n_type == 0) {
return errno;
}
for (i=0; i<KOFFSET_MAX; i++) { for (i=0; i<KOFFSET_MAX; i++) {
sigar->koffsets[i] = klist[i].n_value; sigar->koffsets[i] = klist[i].n_value;