kvm tools: unite the error handle in kvm__init
When error occurs, just set the ret to the reason, then jump to the error handle labels. This makes the code more readable. Signed-off-by:Yang Bai <hamo.by@gmail.com> Signed-off-by:
Pekka Enberg <penberg@kernel.org>
Loading
Please register or sign in to comment