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

Daniel Henrique Barboza danielhb413 at gmail.com
Wed Jun 24 21:07:18 UTC 2020



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 allocated by
> virBitmapParse().
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---


Reviewed-by: Daniel Henrique Barboza <danielhb413 at gmail.com>




More information about the libvir-list mailing list