The caller doesn't check the return value. Remove it to avoid confusing
readers.
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
return 0;
}
-int
+void
virCHDomainRefreshThreadInfo(virDomainObj *vm)
{
unsigned int maxvcpus = virDomainDefGetVcpusMax(vm->def);
if (ncpus != maxvcpus)
VIR_WARN("Mismatch in the number of cpus, expected: %u, actual: %zu",
maxvcpus, ncpus);
-
- return 0;
}
virDomainDefParserConfig virCHDriverDomainDefParserConfig = {
virCHDomainRemoveInactive(virCHDriver *driver,
virDomainObj *vm);
-int
+void
virCHDomainRefreshThreadInfo(virDomainObj *vm);
pid_t