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

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

 



2012/8/6 Michal Privoznik <mprivozn@xxxxxxxxxx>:
> 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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]