All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthew Daley <mattjd@gmail.com>
To: xen-devel@lists.xenproject.org
Cc: Keir Fraser <keir@xen.org>,
	Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>,
	Matthew Daley <mattjd@gmail.com>,
	xen-devel@lists.xen.org, Jan Beulich <jbeulich@suse.com>,
	Boris Ostrovsky <boris.ostrovsky@oracle.com>
Subject: [PATCH 1/6] nestedsvm: remove pointless BUG_ON
Date: Fri,  8 Nov 2013 13:45:07 +1300	[thread overview]
Message-ID: <1383871513-11316-2-git-send-email-mattjd@gmail.com> (raw)
In-Reply-To: <1383871513-11316-1-git-send-email-mattjd@gmail.com>

It's already handled just above.

Signed-off-by: Matthew Daley <mattjd@gmail.com>
---
 xen/arch/x86/hvm/svm/nestedsvm.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/xen/arch/x86/hvm/svm/nestedsvm.c b/xen/arch/x86/hvm/svm/nestedsvm.c
index e32c872..705b653 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)
-- 
1.7.10.4

  reply	other threads:[~2013-11-08  0:45 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-08  0:45 trivial: remove various pointless things Matthew Daley
2013-11-08  0:45 ` Matthew Daley [this message]
2013-11-08 14:28   ` [PATCH 1/6] nestedsvm: remove pointless BUG_ON Boris Ostrovsky
2013-11-08  0:45 ` [PATCH 2/6] xen/arm: remove pointless if subcondition Matthew Daley
2013-11-08  0:45 ` [PATCH 3/6] xen/video: " Matthew Daley
2013-11-08  0:45 ` [PATCH 4/6] libxc: remove pointless null pointer check Matthew Daley
2013-11-08  0:45 ` [PATCH 5/6] xl: " Matthew Daley
2013-11-08  0:45 ` [PATCH 6/6] mini-os: remove repeated statement in netfront_input Matthew Daley
2013-11-08  0:56   ` Samuel Thibault
2013-11-11 16:25 ` trivial: remove various pointless things Ian Campbell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1383871513-11316-2-git-send-email-mattjd@gmail.com \
    --to=mattjd@gmail.com \
    --cc=boris.ostrovsky@oracle.com \
    --cc=jbeulich@suse.com \
    --cc=keir@xen.org \
    --cc=suravee.suthikulpanit@amd.com \
    --cc=xen-devel@lists.xen.org \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.