lkml.org 
[lkml]   [2015]   [Dec]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH V2 04/10] irqchip / GICv3: remove gic root node in ITS
    Date
    From: Hanjun Guo <hanjun.guo@linaro.org>

    The gic_root_node defined in ITS driver is not actually
    used, and the ITS driver seems will not use it in the
    future, so just remove it.

    Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org>
    ---
    drivers/irqchip/irq-gic-v3-its.c | 3 ---
    1 file changed, 3 deletions(-)

    diff --git a/drivers/irqchip/irq-gic-v3-its.c b/drivers/irqchip/irq-gic-v3-its.c
    index e23d1d1..7ca7f9a 100644
    --- a/drivers/irqchip/irq-gic-v3-its.c
    +++ b/drivers/irqchip/irq-gic-v3-its.c
    @@ -97,7 +97,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))
    @@ -1602,8 +1601,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);

    --
    1.9.1


    \
     
     \ /
      Last update: 2015-12-17 13:21    [W:7.901 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site