diff options
author | ru <ru@FreeBSD.org> | 2008-04-11 11:39:26 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2008-04-11 11:39:26 +0000 |
commit | 1d29dab18251001b511e0d4b77b92d4283f6c0e5 (patch) | |
tree | e0c56dd650490ec63838405e633ac66ccea00351 /usr.bin/top | |
parent | e8bab4ec9bfbdcd70ae3a9eabbc9e47efee5658f (diff) | |
download | FreeBSD-src-1d29dab18251001b511e0d4b77b92d4283f6c0e5.zip FreeBSD-src-1d29dab18251001b511e0d4b77b92d4283f6c0e5.tar.gz |
system_info.cpustates isn't sparse, so a bitmask of available CPU states
is redundant (I think it's a leftover from an older implementation).
Diffstat (limited to 'usr.bin/top')
-rw-r--r-- | usr.bin/top/machine.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/usr.bin/top/machine.c b/usr.bin/top/machine.c index 632d53d..fa2eb68 100644 --- a/usr.bin/top/machine.c +++ b/usr.bin/top/machine.c @@ -482,11 +482,9 @@ get_system_info(struct system_info *si) /* set arrays and strings */ if (pcpu_stats) { si->cpustates = pcpu_cpu_states; - si->cpumask = cpumask; si->ncpus = ncpus; } else { si->cpustates = cpu_states; - si->cpumask = 1; si->ncpus = 1; } si->memory = memory_stats; |