summaryrefslogtreecommitdiffstats
path: root/sys/cddl/dev/dtrace/i386/dtrace_subr.c
diff options
context:
space:
mode:
authorganbold <ganbold@FreeBSD.org>2008-11-25 19:25:54 +0000
committerganbold <ganbold@FreeBSD.org>2008-11-25 19:25:54 +0000
commit2ba03c359594560a88ae0e4cf2399165f29b3852 (patch)
treecb2123492d11d975d227f75eb84c98ac686a6d5e /sys/cddl/dev/dtrace/i386/dtrace_subr.c
parent7e02db46fdabf2476c22a9497beb7526fc77191a (diff)
downloadFreeBSD-src-2ba03c359594560a88ae0e4cf2399165f29b3852.zip
FreeBSD-src-2ba03c359594560a88ae0e4cf2399165f29b3852.tar.gz
Remove unused variable.
Found with: Coverity Prevent(tm) CID: 3669,3671 Approved by: jb
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