diff options
author | 2014-09-16 13:37:40 +0200 | |
---|---|---|
committer | 2014-09-24 14:07:48 +0200 | |
commit | 1f755a827538226fff38aad128c4a6836bd89b48 (patch) | |
tree | 5ec9ecfc04c732e3de01ef786c8baeb8bc52b6fa /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | KVM: x86: Warn if guest virtual address space is not 48-bits (diff) | |
download | wireguard-linux-1f755a827538226fff38aad128c4a6836bd89b48.tar.xz wireguard-linux-1f755a827538226fff38aad128c4a6836bd89b48.zip |
kvm: Make init_rmode_tss() return 0 on success.
In init_rmode_tss(), there two variables indicating the return
value, r and ret, and it return 0 on error, 1 on success. The function
is only called by vmx_set_tss_addr(), and ret is redundant.
This patch removes the redundant variable, by making init_rmode_tss()
return 0 on success, -errno on failure.
Reviewed-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions