summaryrefslogtreecommitdiffstats
path: root/kernel/irq
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2022-02-01 12:03:10 +0000
committerMarc Zyngier <maz@kernel.org>2022-02-10 11:07:04 +0000
commitbeb0622138cd2848dec06b0651a988c39d099574 (patch)
treef530eed1afa650585411ec98f181635b53bfa1db /kernel/irq
parent0d872ed9e2148a8ba29de5a71c352fa54abf8e5e (diff)
downloadlinux-beb0622138cd2848dec06b0651a988c39d099574.tar.bz2
genirq: Kill irq_chip::parent_device
Now that noone is using irq_chip::parent_device in the tree, get rid of it. Signed-off-by: Marc Zyngier <maz@kernel.org> Acked-by: Bartosz Golaszewski <brgl@bgdev.pl> Link: https://lore.kernel.org/r/20220201120310.878267-13-maz@kernel.org
Diffstat (limited to 'kernel/irq')
-rw-r--r--kernel/irq/chip.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c
index a2a12cdbe872..24b6f2b40e5e 100644
--- a/kernel/irq/chip.c
+++ b/kernel/irq/chip.c
@@ -1560,9 +1560,6 @@ int irq_chip_compose_msi_msg(struct irq_data *data, struct msi_msg *msg)
static struct device *irq_get_parent_device(struct irq_data *data)
{
- if (data->chip->parent_device)
- return data->chip->parent_device;
-
if (data->domain)
return data->domain->dev;