Re: [PATCH 06/13] numa_conf: Make virDomainNumaSetNodeCpumask() return void

2020-06-24 Thread Daniel Henrique Barboza
On 6/24/20 10:49 AM, Michal Privoznik wrote: There is only one caller of virDomainNumaSetNodeCpumask() which checks for the return value but because the function will return NULL iff the @cpumask was NULL in the first place. But in that place @cpumask can't be NULL because it was just

[PATCH 06/13] numa_conf: Make virDomainNumaSetNodeCpumask() return void

2020-06-24 Thread Michal Privoznik
There is only one caller of virDomainNumaSetNodeCpumask() which checks for the return value but because the function will return NULL iff the @cpumask was NULL in the first place. But in that place @cpumask can't be NULL because it was just allocated by virBitmapParse(). Signed-off-by: Michal