diff --git a/src/util/virnuma.c b/src/util/virnuma.c index fc25051b4690c5772c3a34cd917f732931d43ce3..c4d11fa6e02deeb90282caba75431e969751b1d0 100644 --- a/src/util/virnuma.c +++ b/src/util/virnuma.c @@ -1004,12 +1004,7 @@ virNumaGetHostNodeset(void) if (!virNumaNodeIsAvailable(i)) continue; - if (virBitmapSetBit(nodeset, i) < 0) { - virReportError(VIR_ERR_INTERNAL_ERROR, "%s", - _("Problem setting bit in bitmap")); - virBitmapFree(nodeset); - return NULL; - } + ignore_value(virBitmapSetBit(nodeset, i)); } return nodeset;