[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] esx: Remove redundant checks for esxVI_LookupHostSystemProperties result



On 05.08.2012 13:48, Matthias Bolte wrote:
> esxVI_LookupHostSystemProperties guarantees that hostSystem is non-NULL.
> Remove redundant NULL checks from callers.
> 
> Also prefer esxVI_GetStringValue over open-coding the logic.
> ---
>  src/esx/esx_driver.c   |   82 +++++++++---------------------------------------
>  src/esx/esx_vi.c       |    4 +-
>  src/esx/esx_vi_types.c |    3 +-
>  3 files changed, 19 insertions(+), 70 deletions(-)
> 

ACK

Michal


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]