Message ID | 54e30d61-5183-9911-cf35-1410fb78da5a@users.sourceforge.net (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/sh/intc/virq.c b/drivers/sh/intc/virq.c index 2079425c95ed..79d733f3411a 100644 --- a/drivers/sh/intc/virq.c +++ b/drivers/sh/intc/virq.c @@ -97,7 +97,5 @@ static int add_virq_to_pirq(unsigned int irq, unsigned int virq) - if (!entry) { - pr_err("can't allocate VIRQ mapping for %d\n", virq); + if (!entry) return -ENOMEM; - } entry->irq = virq;