diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2018-03-17 14:48:27 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-03-23 20:11:01 +0100 |
commit | d32ef547fdbbeb9c4351f9d3bc84dec998a3be8c (patch) | |
tree | 0dc42a51072b0951c82bd8ee639b22eb355f1fb5 /virt | |
parent | 81811c162d4da1ececef14a1efc9602e86d29ef5 (diff) | |
download | linux-d32ef547fdbbeb9c4351f9d3bc84dec998a3be8c.tar.bz2 |
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>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions