From: Milton Miller Date: Tue, 24 May 2011 20:34:18 +0000 (+0000) Subject: powerpc/irq: Remove stale and misleading comment X-Git-Tag: v3.0-rc1~46^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8142f032a90680ed2fb080ca694ffe9509276361;p=platform%2Fkernel%2Flinux-exynos.git powerpc/irq: Remove stale and misleading comment The comment claims we will call host->ops->map() to update the flags if we find a previously established mapping, but we never did. We used to call remap, but that call was removed in da05198002 (powerpc: Remove irq_host_ops->remap hook). Signed-off-by: Milton Miller Signed-off-by: Benjamin Herrenschmidt --- diff --git a/arch/powerpc/kernel/irq.c b/arch/powerpc/kernel/irq.c index a24d37d..f2fd653 100644 --- a/arch/powerpc/kernel/irq.c +++ b/arch/powerpc/kernel/irq.c @@ -727,9 +727,7 @@ unsigned int irq_create_mapping(struct irq_host *host, } pr_debug("irq: -> using host @%p\n", host); - /* Check if mapping already exist, if it does, call - * host->ops->map() to update the flags - */ + /* Check if mapping already exists */ virq = irq_find_mapping(host, hwirq); if (virq != NO_IRQ) { pr_debug("irq: -> existing mapping on virq %d\n", virq);