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 /tools/perf/scripts/python | |
| parent | KVM: SVM: add struct kvm_svm to hold SVM specific KVM vars (diff) | |
| download | linux-d32ef547fdbbeb9c4351f9d3bc84dec998a3be8c.tar.gz linux-d32ef547fdbbeb9c4351f9d3bc84dec998a3be8c.zip | |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
