]> git.ipfire.org Git - thirdparty/libvirt.git/commit
esx_vi.c: Simplify error handling in MachineByName
authorMarcos Paulo de Souza <marcos.souza.org@gmail.com>
Tue, 3 Jul 2018 02:20:58 +0000 (23:20 -0300)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 3 Jul 2018 09:26:28 +0000 (11:26 +0200)
commit00d9edfe2f39f60b40c0a0e16a1709e9633ab988
tree28929869d3d7fbce2fea2ba5c8b60efab767135b
parent7ac08cc929dc512e8682fbfcc5d33518058f20e4
esx_vi.c: Simplify error handling in MachineByName

The same pattern is used in lots of other places.
Also, reporting error message is not desired because all callers
check the return value and report errors on their own.

Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/esx/esx_vi.c