summaryrefslogtreecommitdiffstats
path: root/sys/cddl/dev/dtrace/i386/dtrace_subr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/cddl/dev/dtrace/i386/dtrace_subr.c')
-rw-r--r--sys/cddl/dev/dtrace/i386/dtrace_subr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/cddl/dev/dtrace/i386/dtrace_subr.c b/sys/cddl/dev/dtrace/i386/dtrace_subr.c
index 50515b6..78d80f3 100644
--- a/sys/cddl/dev/dtrace/i386/dtrace_subr.c
+++ b/sys/cddl/dev/dtrace/i386/dtrace_subr.c
@@ -403,7 +403,6 @@ dtrace_gethrtime_init(void *arg)
{
cpumask_t map;
int i;
- struct pcpu *cp;
/* The current CPU is the reference one. */
tsc_skew[curcpu] = 0;
@@ -412,7 +411,7 @@ dtrace_gethrtime_init(void *arg)
if (i == curcpu)
continue;
- if ((cp = pcpu_find(i)) == NULL)
+ if (pcpu_find(i) == NULL)
continue;
map = 0;
OpenPOWER on IntegriCloud