Remove unused variable.

Found with:     Coverity Prevent(tm)
CID: 3669,3671

Approved by: jb
This commit is contained in:
ganbold 2008-11-25 19:25:54 +00:00
parent 7e02db46fd
commit 2ba03c3595
2 changed files with 2 additions and 4 deletions

View File

@ -1341,12 +1341,11 @@ cyclic_mp_init(void)
static void
cyclic_uninit(void)
{
struct pcpu *pc;
cpu_t *c;
int id;
for (id = 0; id <= mp_maxid; id++) {
if ((pc = pcpu_find(id)) == NULL)
if (pcpu_find(id) == NULL)
continue;
c = &solaris_cpu[id];

View File

@ -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;