diff --git a/xen/arch/x86/irq.c b/xen/arch/x86/irq.c index a47d4f640b..db70077e4e 100644 --- a/xen/arch/x86/irq.c +++ b/xen/arch/x86/irq.c @@ -1590,8 +1590,7 @@ int pirq_guest_bind(struct vcpu *v, struct pirq *pirq, int will_share) printk(XENLOG_G_INFO "Cannot bind IRQ%d to dom%d. Out of memory.\n", pirq->pirq, v->domain->domain_id); - rc = -ENOMEM; - goto out; + return -ENOMEM; } action = newaction;