aboutsummaryrefslogtreecommitdiff
path: root/bin/ps/print.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ps/print.c')
-rw-r--r--bin/ps/print.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/bin/ps/print.c b/bin/ps/print.c
index d137056aa580..b4458b453cdd 100644
--- a/bin/ps/print.c
+++ b/bin/ps/print.c
@@ -555,9 +555,6 @@ cpunum(KINFO *k, VARENT *ve __unused)
{
char *cpu;
- if (!smp)
- return (NULL);
-
if (k->ki_p->ki_stat == SRUN && k->ki_p->ki_oncpu != NOCPU) {
asprintf(&cpu, "%d", k->ki_p->ki_oncpu);
} else {