diff options
author | Milton Miller <miltonm@bga.com> | 2011-05-24 16:34:18 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-05-25 23:38:58 -0400 |
commit | 8142f032a90680ed2fb080ca694ffe9509276361 (patch) | |
tree | 0ab59f4d894a38575bd8d423fbc703a83538b02f | |
parent | d5a1c1937090d72c08c72e8abaa906b26459608e (diff) |
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 <miltonm@bga.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
-rw-r--r-- | arch/powerpc/kernel/irq.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/powerpc/kernel/irq.c b/arch/powerpc/kernel/irq.c index a24d37d4cf51..f2fd6539d8bf 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, | |||
727 | } | 727 | } |
728 | pr_debug("irq: -> using host @%p\n", host); | 728 | pr_debug("irq: -> using host @%p\n", host); |
729 | 729 | ||
730 | /* Check if mapping already exist, if it does, call | 730 | /* Check if mapping already exists */ |
731 | * host->ops->map() to update the flags | ||
732 | */ | ||
733 | virq = irq_find_mapping(host, hwirq); | 731 | virq = irq_find_mapping(host, hwirq); |
734 | if (virq != NO_IRQ) { | 732 | if (virq != NO_IRQ) { |
735 | pr_debug("irq: -> existing mapping on virq %d\n", virq); | 733 | pr_debug("irq: -> existing mapping on virq %d\n", virq); |