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

Matthias Bolte matthias.bolte at googlemail.com
Thu Aug 9 21:34:03 UTC 2012


2012/8/6 Michal Privoznik <mprivozn at redhat.com>:
> 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

Thanks, pushed.

-- 
Matthias Bolte
http://photron.blogspot.com




More information about the libvir-list mailing list