diff options
| author | David Matlack <dmatlack@google.com> | 2021-06-18 02:19:45 +0300 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-06-18 13:45:46 +0300 |
| commit | aa23c0ad14228ccfcd0b6f799dd34b348a5f2b1e (patch) | |
| tree | f238e64e0cd8f3e1cfd1ea5b56e25aa7aaee1b5d /include | |
| parent | c62efff28bb5eb60d60415a0dd0c864c64be0671 (diff) | |
| download | linux-aa23c0ad14228ccfcd0b6f799dd34b348a5f2b1e.tar.xz | |
KVM: x86/mmu: Remove redundant is_tdp_mmu_root check
The check for is_tdp_mmu_root in kvm_tdp_mmu_map is redundant because
kvm_tdp_mmu_map's only caller (direct_page_fault) already checks
is_tdp_mmu_root.
Suggested-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: David Matlack <dmatlack@google.com>
Message-Id: <20210617231948.2591431-2-dmatlack@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
