Print this page
patch tsoome-feedback
@@ -22,12 +22,10 @@
/*
* Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
/*
* OPL platform specific functions for
* CPU/Memory error diagnosis engine.
*/
#include <cmd.h>
@@ -178,20 +176,18 @@
}
sib_cpu = cmd_cpu_lookup(hdl, fmri, class,
CMD_CPU_LEVEL_THREAD);
if (sib_cpu == NULL || sib_cpu->cpu_faulting) {
- if (fmri != NULL)
nvlist_free(fmri);
opl_cpu->oc_cmd_cpu = NULL;
fmd_hdl_debug(hdl,
"cpu not present, cpuid %u excluded\n",
opl_cpu->oc_cpuid);
continue;
}
opl_cpu->oc_cmd_cpu = sib_cpu;
- if (fmri != NULL)
nvlist_free(fmri);
nsusp++;
}
if (cpu->cpu_cpuid == main_cpuid) {
if (cc->cc_cp != NULL &&