]> git.ipfire.org Git - thirdparty/libvirt.git/commit
esx: Remove redundant checks for esxVI_LookupHostSystemProperties result
authorMatthias Bolte <matthias.bolte@googlemail.com>
Sun, 5 Aug 2012 11:47:05 +0000 (13:47 +0200)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Thu, 9 Aug 2012 20:31:47 +0000 (22:31 +0200)
commitba86e5cd3f715c58d9c6af3ac81ad29a2caaf19e
tree83e0f9202981b0f9ad7e9e66656b92c9839f2951
parentc10cc254702816a00a8e7404b708996c853e00ed
esx: Remove redundant checks for esxVI_LookupHostSystemProperties result

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
src/esx/esx_vi.c
src/esx/esx_vi_types.c