x86/HAP: drop pointless assertions
authorJan Beulich <JBeulich@suse.com>
Tue, 22 Apr 2014 11:30:33 +0000 (12:30 +0100)
committerTim Deegan <tim@xen.org>
Thu, 24 Apr 2014 11:46:16 +0000 (12:46 +0100)
commit1e50b51dc5e9594975ccc060dd58bc35873911bc
treee02adb6eaf2ec43bb135a60e225606f5905c627b
parent2333acf2aec4cd6e8e6d1e9ee04b8ef12767254c
x86/HAP: drop pointless assertions

Just like for shadow code, hap_map_domain_page() is just a thin
wrapper around map_domain_page(), which cannot fail. Asserting its
success is redundant.

hap_unmap_domain_page() should also not be used for something not
mapped through hap_map_domain_page().

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Tim Deegan <tim@xen.org>
xen/arch/x86/mm/hap/hap.c