Skip to content
Commit d32ef547 authored by Dan Carpenter's avatar Dan Carpenter Committed by Paolo Bonzini
Browse files

kvm: x86: hyperv: delete dead code in kvm_hv_hypercall()



"rep_done" is always zero so the "(((u64)rep_done & 0xfff) << 32)"
expression is just zero.  We can remove the "res" temporary variable as
well and just use "ret" directly.

Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 81811c16
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment