diff options
author | David Hildenbrand <david@redhat.com> | 2017-01-25 11:58:57 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2017-02-07 18:16:44 +0100 |
commit | 42cf014d38d8822cce63703a467e00f65d000952 (patch) | |
tree | 1086956a82cf975a6814be6620b6b8506f7e2ebe /arch/x86/kvm/page_track.c | |
parent | kvm: x86: mmu: Verify that restored PTE has needed perms in fast page fault (diff) | |
download | linux-42cf014d38d8822cce63703a467e00f65d000952.tar.xz linux-42cf014d38d8822cce63703a467e00f65d000952.zip |
KVM: nVMX: kmap() can't fail
kmap() can't fail, therefore it will always return a valid pointer. Let's
just get rid of the unnecessary checks.
Signed-off-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/page_track.c')
0 files changed, 0 insertions, 0 deletions