aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/event_channel.c
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-09-25 14:37:52 +0100
committerKeir Fraser <keir.fraser@citrix.com>2008-09-25 14:37:52 +0100
commit6a2722c6753efe3c071027634e1b8c99c299e0a8 (patch)
tree6929316f37612f724a6ca812eef891c15ff63105 /xen/common/event_channel.c
parent0ae658ea9f3e26ec9ea613a1d5e85d8bf3296277 (diff)
downloadxen-6a2722c6753efe3c071027634e1b8c99c299e0a8.tar.gz
xen-6a2722c6753efe3c071027634e1b8c99c299e0a8.tar.bz2
xen-6a2722c6753efe3c071027634e1b8c99c299e0a8.zip
x86: Clean up and fix 18539:31f09a5e24cf8
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/common/event_channel.c')
-rw-r--r--xen/common/event_channel.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/xen/common/event_channel.c b/xen/common/event_channel.c
index f7a0e87bc7..006d5eca3a 100644
--- a/xen/common/event_channel.c
+++ b/xen/common/event_channel.c
@@ -387,8 +387,7 @@ static long __evtchn_close(struct domain *d1, int port1)
break;
case ECS_PIRQ:
- if ( pirq_guest_unbind(d1, chn1->u.pirq) != 0 )
- BUG();
+ pirq_guest_unbind(d1, chn1->u.pirq);
d1->pirq_to_evtchn[chn1->u.pirq] = 0;
break;