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: 58569 Delivered-To: patch@linaro.org Received: by 10.112.89.199 with SMTP id bq7csp313618lbb; Thu, 17 Dec 2015 03:54:55 -0800 (PST) X-Received: by 10.13.197.194 with SMTP id h185mr32042065ywd.12.1450353295072; Thu, 17 Dec 2015 03:54:55 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q129si1664979ywd.60.2015.12.17.03.54.54; Thu, 17 Dec 2015 03:54:55 -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=neutral (body hash did not verify) header.i=@semihalf-com.20150623.gappssmtp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964932AbbLQLyi (ORCPT + 29 others); Thu, 17 Dec 2015 06:54:38 -0500 Received: from mail-wm0-f53.google.com ([74.125.82.53]:38397 "EHLO mail-wm0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756051AbbLQLwd (ORCPT ); Thu, 17 Dec 2015 06:52:33 -0500 Received: by mail-wm0-f53.google.com with SMTP id l126so17933280wml.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=UmiZpe6F3eaebYqZ03qH/uwmD8lCNYZ/ulQRXKZr6W2icOBiB/1IBvuvBI1/g1YAwH bi9VPFfrFqPB09NrFuz8q4Z7OIUe593nLLMiWPnuAZOKnOk7cthzE0sSZ3LssoJNG0fh E0JsAOPk+hl/FrZrRjTncDB/uAjc4ybxT8IxXsppNA5B7L2S+LgP/q91HpK64nw0leJd ytz16newxwsZrJQx/sG6qNVjC2DgonwBInat/qSUtoTXqAJp5kX2oD7eSYTQqPz2Eqmp P77bk8PK9DQReFYAo6mDF7IUzdWqPu6RmYdKZw259lzsjQQt7XpS9mK6iiMoxlO6uDj2 istA== X-Gm-Message-State: ALoCoQm4Pa+IVlSC3DLM4WHZdfaWsOgEDk4RLHubGoRX60lM0aUVomF0IOgQJzDGmpuOMICMmMxzrVZnAWP2gB2h+c8u44gpgQ== 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 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 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> 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ 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);