commit | d32ef547fdbbeb9c4351f9d3bc84dec998a3be8c | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Sat Mar 17 14:48:27 2018 +0300 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Fri Mar 23 20:11:01 2018 +0100 |
tree | 0dc42a51072b0951c82bd8ee639b22eb355f1fb5 | |
parent | 81811c162d4da1ececef14a1efc9602e86d29ef5 [diff] |
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: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>