--- src/vmware/vmware_conf.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/vmware/vmware_conf.c b/src/vmware/vmware_conf.c index 7734872..23da92d 100644 --- a/src/vmware/vmware_conf.c +++ b/src/vmware/vmware_conf.c @@ -80,10 +80,7 @@ vmwareCapsInit(void) if (VIR_ALLOC(cpu) < 0) goto error; - if (!(cpu->arch = caps->host.arch)) { - virReportOOMError(); - goto error; - } + cpu->arch = caps->host.arch; cpu->type = VIR_CPU_TYPE_HOST; if (!(data = cpuNodeData(cpu->arch)) -- 1.8.3.2 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list