Skip to content

Commit

Permalink
irqchip/gic-v3: Remove gic_root_node variable from the ITS code
Browse files Browse the repository at this point in the history
The gic_root_node variable defined in ITS driver is not actually
used, so just remove it.

Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
  • Loading branch information
Hanjun Guo authored and Marc Zyngier committed Mar 9, 2016
1 parent b70fb7a commit f6ae508
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/irqchip/irq-gic-v3-its.c
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ struct its_device {

static LIST_HEAD(its_nodes);
static DEFINE_SPINLOCK(its_lock);
static struct device_node *gic_root_node;
static struct rdists *gic_rdists;

#define gic_data_rdist() (raw_cpu_ptr(gic_rdists->rdist))
Expand Down Expand Up @@ -1607,8 +1606,6 @@ int its_init(struct device_node *node, struct rdists *rdists,
}

gic_rdists = rdists;
gic_root_node = node;

its_alloc_lpi_tables();
its_lpi_init(rdists->id_bits);

Expand Down

0 comments on commit f6ae508

Please sign in to comment.