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>
This commit is contained in:
parent
d5a1c19370
commit
8142f032a9
1 changed files with 1 additions and 3 deletions
|
@ -727,9 +727,7 @@ unsigned int irq_create_mapping(struct irq_host *host,
|
||||||
}
|
}
|
||||||
pr_debug("irq: -> using host @%p\n", host);
|
pr_debug("irq: -> using host @%p\n", host);
|
||||||
|
|
||||||
/* Check if mapping already exist, if it does, call
|
/* Check if mapping already exists */
|
||||||
* host->ops->map() to update the flags
|
|
||||||
*/
|
|
||||||
virq = irq_find_mapping(host, hwirq);
|
virq = irq_find_mapping(host, hwirq);
|
||||||
if (virq != NO_IRQ) {
|
if (virq != NO_IRQ) {
|
||||||
pr_debug("irq: -> existing mapping on virq %d\n", virq);
|
pr_debug("irq: -> existing mapping on virq %d\n", virq);
|
||||||
|
|
Loading…
Reference in a new issue