Re: [PATCH 1/3] libxl: Break down an if() in libxlCapsInitNuma()

2021-05-24 Thread Jim Fehlig
On 5/12/21 7:23 AM, Michal Privoznik wrote: There's an if-else statement in libxlCapsInitNuma() that can really be just two standalone if()-s. Writing it as such helps with code readability. Signed-off-by: Michal Privoznik --- src/libxl/libxl_capabilities.c | 14 +++--- 1 file

[PATCH 1/3] libxl: Break down an if() in libxlCapsInitNuma()

2021-05-12 Thread Michal Privoznik
There's an if-else statement in libxlCapsInitNuma() that can really be just two standalone if()-s. Writing it as such helps with code readability. Signed-off-by: Michal Privoznik --- src/libxl/libxl_capabilities.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git