Remove unused variable.
Found with: Coverity Prevent(tm) CID: 3669,3671 Approved by: jb
This commit is contained in:
parent
7e02db46fd
commit
2ba03c3595
@ -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];
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user