Commit d7d0bd99 authored by Hanjun Guo's avatar Hanjun Guo Committed by Kleber Sacilotto de Souza

irqchip/gic-v3: Remove gic_root_node variable from the ITS code

BugLink: https://bugs.launchpad.net/bugs/1744754

The gic_root_node variable defined in ITS driver is not actually
used, so just remove it.
Acked-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
Signed-off-by: default avatarHanjun Guo <hanjun.guo@linaro.org>
Signed-off-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
(cherry picked from commit f6ae5085)
Signed-off-by: default avatardann frazier <dann.frazier@canonical.com>
Acked-by: default avatarStefan Bader <stefan.bader@canonical.com>
Acked-by: default avatarKleber Sacilotto de Souza <kleber.souza@canonical.com>
Signed-off-by: default avatarKleber Sacilotto de Souza <kleber.souza@canonical.com>
parent e33ab9d0
...@@ -99,7 +99,6 @@ struct its_device { ...@@ -99,7 +99,6 @@ struct its_device {
static LIST_HEAD(its_nodes); static LIST_HEAD(its_nodes);
static DEFINE_SPINLOCK(its_lock); static DEFINE_SPINLOCK(its_lock);
static struct device_node *gic_root_node;
static struct rdists *gic_rdists; static struct rdists *gic_rdists;
#define gic_data_rdist() (raw_cpu_ptr(gic_rdists->rdist)) #define gic_data_rdist() (raw_cpu_ptr(gic_rdists->rdist))
...@@ -1642,8 +1641,6 @@ int its_init(struct device_node *node, struct rdists *rdists, ...@@ -1642,8 +1641,6 @@ int its_init(struct device_node *node, struct rdists *rdists,
} }
gic_rdists = rdists; gic_rdists = rdists;
gic_root_node = node;
its_alloc_lpi_tables(); its_alloc_lpi_tables();
its_lpi_init(rdists->id_bits); its_lpi_init(rdists->id_bits);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment