From patchwork Thu Dec 17 11:52:07 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomasz Nowicki X-Patchwork-Id: 7872571 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 2832FBEEE5 for ; Thu, 17 Dec 2015 11:56:03 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C06AD20268 for ; Thu, 17 Dec 2015 11:55:58 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 31F9B20259 for ; Thu, 17 Dec 2015 11:55:54 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1a9X8W-0002LE-1Y; Thu, 17 Dec 2015 11:54:20 +0000 Received: from mail-wm0-x22b.google.com ([2a00:1450:400c:c09::22b]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1a9X78-00019x-Az for linux-arm-kernel@lists.infradead.org; Thu, 17 Dec 2015 11:52:58 +0000 Received: by mail-wm0-x22b.google.com with SMTP id l126so19917540wml.1 for ; Thu, 17 Dec 2015 03:52:33 -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=InAsQ7gj3ZMQMKa713ZOUPQClIGOnjqOS19oeXIcUfKQfa7I1K76Twj6j9hF2c17Qe /B8DIqIpztcmjpTX4XxOPqNsmS10U+ucqitiEcpvSEKRxrcnDwv6lp/g9pjOnSNcnnqg L3Yh6X0uBinzs5scn3UV+51Zjt6OJNRJqvT/47melXmf881vhzRDmwzOZGDqOYsBIzGW mHLNXJ8VMlJmZmftnfYIcPBL0n9Nix8mEEpR6pyxz/j+qrhNo5ueSW0uhGo1RLLqBHwW VpWSkDOS6E/bM2pmsmeaa0EosyCfebTq2WqiNmoErmVX9fEmILBEex5rQIvYG1Vn90Xw Cpag== 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=JAVAEjU4dPCHdgTOVXAD1f5k0Me6BjK1asckyLKzbg4AaK+/yybXG+i9BT2oqmlHSR G3Yqhsn0vcQNIyhGohayZF9ANTBoPrOx3bxh0ODjZZ/tnv85wj+T1LSZJAp89CWkMpT+ c3gfrMRVoIPd9PzUZP3XygV/i4N0WqtgjUo+aWsIGxSesouMqqgebcS+TlwzNISiv1bW b7TgpFSefLN2G4qLw5BbifSZBX5ILk+ZbUwkU0CmeqmiliYowpYcHrjm22eXeC3xnV1j G7E+jFjbiS41RAj6X4MrX+XDEnTmkK7gOZdIK0dMNH4kUsaSgqGvVFg+Ra36yB2+lO0P F7AA== X-Gm-Message-State: ALoCoQlhI4DCoSyg5Xrt/z0Ltl+V6Mz2oFMqORKsETD/ddMtzhPm/yWpwCT0IiAFsAc23LwLNK9ktvfKmjb+iTwywK7IordVHg== X-Received: by 10.28.146.197 with SMTP id u188mr3660652wmd.78.1450353152742; Thu, 17 Dec 2015 03:52:32 -0800 (PST) Received: from tn-HP-4.semihalf.local (cardhu.semihalf.com. [213.17.239.108]) by smtp.gmail.com with ESMTPSA id kb5sm10137208wjc.20.2015.12.17.03.52.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 17 Dec 2015 03:52:32 -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 Subject: [PATCH V2 04/10] irqchip / GICv3: remove gic root node in ITS Date: Thu, 17 Dec 2015 12:52:07 +0100 Message-Id: <1450353133-15992-5-git-send-email-tn@semihalf.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1450353133-15992-1-git-send-email-tn@semihalf.com> References: <1450353133-15992-1-git-send-email-tn@semihalf.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151217_035254_795514_E440BC0A X-CRM114-Status: GOOD ( 11.05 ) X-Spam-Score: -2.6 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 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, ddaney.cavm@gmail.com, mw@semihalf.com, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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(-) 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);