From: Matthew Daley Date: Fri, 8 Nov 2013 10:09:37 +0000 (+0100) Subject: nestedsvm: remove pointless BUG_ON X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~6046 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=c4e2dfccdd1dc4775f248a0cc726a86299a15dea;p=xen.git nestedsvm: remove pointless BUG_ON It's already handled just above. Signed-off-by: Matthew Daley --- diff --git a/xen/arch/x86/hvm/svm/nestedsvm.c b/xen/arch/x86/hvm/svm/nestedsvm.c index e32c8724d2..705b653390 100644 --- a/xen/arch/x86/hvm/svm/nestedsvm.c +++ b/xen/arch/x86/hvm/svm/nestedsvm.c @@ -847,7 +847,6 @@ nsvm_vmcb_guest_intercepts_msr(unsigned long *msr_bitmap, /* MSR not in the permission map: Let the guest handle it. */ return NESTEDHVM_VMEXIT_INJECT; - BUG_ON(msr_bit == NULL); msr &= 0x1fff; if (write)