summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorJohan Hovold <johan+linaro@kernel.org>2023-02-24 14:05:09 +0100
committerThomas Gleixner <tglx@linutronix.de>2023-02-24 20:54:58 +0100
commitea9a78c3a7a44e36fa690e1cc90dc2a758c8eb9a (patch)
treee5e84a6399b39813aa9454453ba25d256b63ded7 /kernel
parentirqdomain: Add missing NULL pointer check in irq_domain_create_hierarchy() (diff)
downloadlinux-ea9a78c3a7a44e36fa690e1cc90dc2a758c8eb9a.tar.xz
linux-ea9a78c3a7a44e36fa690e1cc90dc2a758c8eb9a.zip
genirq/msi: Drop dead domain name assignment
Since commit d59f6617eef0 ("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 <johan+linaro@kernel.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/20230224130509.27814-1-johan+linaro@kernel.org
Diffstat (limited to 'kernel')
-rw-r--r--kernel/irq/msi.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/kernel/irq/msi.c b/kernel/irq/msi.c
index 13d96495e6d0..efd21b79bf32 100644
--- a/kernel/irq/msi.c
+++ b/kernel/irq/msi.c
@@ -830,11 +830,8 @@ static struct irq_domain *__msi_create_irq_domain(struct fwnode_handle *fwnode,
domain = irq_domain_create_hierarchy(parent, flags | IRQ_DOMAIN_FLAG_MSI, 0,
fwnode, &msi_domain_ops, info);
- if (domain) {
- if (!domain->name && info->chip)
- domain->name = info->chip->name;
+ if (domain)
irq_domain_update_bus_token(domain, info->bus_token);
- }
return domain;
}