mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Remove unused variable.
Found with: Coverity Prevent(tm) CID: 3669,3671 Approved by: jb
This commit is contained in:
parent
7e11b694f4
commit
79dae0aa0b
2 changed files with 2 additions and 4 deletions
|
|
@ -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 a new issue