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: NMarcos Paulo de Souza <marcos.souza.org@gmail.com> Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
Showing
想要评论请 注册 或 登录