From patchwork Tue Jan 19 13:11:17 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomasz Nowicki X-Patchwork-Id: 59988 Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp2563871lbb; Tue, 19 Jan 2016 05:12:16 -0800 (PST) X-Received: by 10.98.14.29 with SMTP id w29mr43568876pfi.160.1453209135955; Tue, 19 Jan 2016 05:12:15 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id rm12si7681862pab.225.2016.01.19.05.12.15; Tue, 19 Jan 2016 05:12:15 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dkim=pass header.i=@semihalf-com.20150623.gappssmtp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754782AbcASNMO (ORCPT + 29 others); Tue, 19 Jan 2016 08:12:14 -0500 Received: from mail-wm0-f53.google.com ([74.125.82.53]:33905 "EHLO mail-wm0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754001AbcASNLc (ORCPT ); Tue, 19 Jan 2016 08:11:32 -0500 Received: by mail-wm0-f53.google.com with SMTP id u188so142702384wmu.1 for ; Tue, 19 Jan 2016 05:11:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Xn4YCUo7bh33Xfs0bPU8g1iMGiZuMRerBzntpuBx4hk=; b=JrimHbwIaLDPMm1uhnfX+rIvVLIWNM5puD5VzEMWHrIXRMDGqg69RC1h+M2vtTYH4A GtCJKWNAZClZjefrrFzCwDelt5BcRFErLUoiY0+DxKQqY5qkLZYDSifwfE5q1b9x/h3f nffSMuPwURHdyUdxG0ZzGe/fihCwiim0vbY5UWtyi7TsGkGk3N8qGXAle/UhjmgfPgO4 rEK+I3sBeIluRB+EyF13CeXQNSYZbcVXF7BkbJ9Bwib0okx9Ebl1A+Q54ZQTz5mwE+yq YPgkuXuK0HqblZyP+kNLze4cYE6Hzie1ZWbBnXSbwOuqla3c0TPzpDfosAXAPvvvtfAT WVvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Xn4YCUo7bh33Xfs0bPU8g1iMGiZuMRerBzntpuBx4hk=; b=m1stGEx5zv/lsURwZc14eVGPf7t4blly1eWa33LCtsmXZVNW9Rfrkycm95sWEqd91b 0+CDyIZhSuMfUQ7Rg5lbq002GdLGP4dEc043xez2KzXnVXhy79nhEr3W4T+fztY5SGxF PNzVIRzQ/xHKio3q12mMeNiC99Aj7qhhpAKaJ9NXh8UQdwRc7kd+L3dOXf8vCXQ7DAWA Tbv5JNgeHZoW0FP4bajolu7DtQdhgl1EeWzioUhqh9TUCC5B6eJbpvtNOBiZTVi5NqVD AwVa5K8zbUmTilHb+i7fXtLFpdKRuO5wnPQW5oMLxzq9OqACNzw7dfTtgUL3Xamz3OVt vHOQ== X-Gm-Message-State: AG10YOTIhZbqEgfrnlV+ydPX2FrXlqc5XM5+HZQVUV7bR9A/kap4G/JDQOmsMq2lCIOCkQ== X-Received: by 10.28.16.8 with SMTP id 8mr20480405wmq.77.1453209091386; Tue, 19 Jan 2016 05:11:31 -0800 (PST) Received: from tn-HP-4.semihalf.local ([80.82.22.190]) by smtp.gmail.com with ESMTPSA id w194sm17762623wmd.0.2016.01.19.05.11.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 19 Jan 2016 05:11:30 -0800 (PST) From: Tomasz Nowicki To: marc.zyngier@arm.com, tglx@linutronix.de, jason@lakedaemon.net, rjw@rjwysocki.net, lorenzo.pieralisi@arm.com, robert.richter@caviumnetworks.com, shijie.huang@arm.com, guohanjun@huawei.com, Suravee.Suthikulpanit@amd.com Cc: mw@semihalf.com, graeme.gregory@linaro.org, Catalin.Marinas@arm.com, will.deacon@arm.com, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, hanjun.guo@linaro.org, linux-arm-kernel@lists.infradead.org, ddaney.cavm@gmail.com Subject: [PATCH V3 04/10] irqchip / GICv3: remove gic root node in ITS Date: Tue, 19 Jan 2016 14:11:17 +0100 Message-Id: <1453209083-3358-5-git-send-email-tn@semihalf.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1453209083-3358-1-git-send-email-tn@semihalf.com> References: <1453209083-3358-1-git-send-email-tn@semihalf.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Hanjun Guo 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 --- drivers/irqchip/irq-gic-v3-its.c | 3 --- 1 file changed, 3 deletions(-) -- 1.9.1 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);