Skip to content

Commit ea9a78c

Browse files
jhovoldKAGA-KOKO
authored andcommitted
genirq/msi: Drop dead domain name assignment
Since commit d59f661 ("genirq: Allow fwnode to carry name information only") an IRQ domain is always given a name during allocation (e.g. used for the debugfs entry). Drop the unused fallback name assignment when creating MSI domains. Signed-off-by: Johan Hovold <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent ad32ab9 commit ea9a78c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

kernel/irq/msi.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -830,11 +830,8 @@ static struct irq_domain *__msi_create_irq_domain(struct fwnode_handle *fwnode,
830830
domain = irq_domain_create_hierarchy(parent, flags | IRQ_DOMAIN_FLAG_MSI, 0,
831831
fwnode, &msi_domain_ops, info);
832832

833-
if (domain) {
834-
if (!domain->name && info->chip)
835-
domain->name = info->chip->name;
833+
if (domain)
836834
irq_domain_update_bus_token(domain, info->bus_token);
837-
}
838835

839836
return domain;
840837
}

0 commit comments

Comments
 (0)