remove nlist check

This commit is contained in:
Doug MacEachern committed 2008-04-27 01:49:34 +00:00
1 parent 45c491e859
commit 606a050e3a
1 file changed
-3
-3
View File
@@ -179,9 +179,6 @@ static int get_koffsets(sigar_t *sigar)
}
kvm_nlist(sigar->kmem, klist);
if (klist[0].n_type == 0) {
return errno;
}
for (i=0; i<KOFFSET_MAX; i++) {
sigar->koffsets[i] = klist[i].n_value;