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: 8061701 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 2C602BEEE5 for ; Tue, 19 Jan 2016 13:13:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4B31A2039C for ; Tue, 19 Jan 2016 13:13:54 +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 4C414203A1 for ; Tue, 19 Jan 2016 13:13:53 +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 1aLW5B-0003ua-N7; Tue, 19 Jan 2016 13:12:25 +0000 Received: from mail-wm0-x234.google.com ([2a00:1450:400c:c09::234]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aLW4e-00039q-UC for linux-arm-kernel@lists.infradead.org; Tue, 19 Jan 2016 13:11:55 +0000 Received: by mail-wm0-x234.google.com with SMTP id 123so90848970wmz.0 for ; Tue, 19 Jan 2016 05:11:32 -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=I/rGYGXLtMLhjH0LfGniYu+/ERU50s1ICixWuOK/cNX3blK54yuDV66jVepPRqWLpd o01363fPoAPMn2nPF2squ8HyNXErqngdZKXvazM/hlQEyBHY/FdmZIZau6O1SAQ1xFft nBHk9Mi5ZiswqL4mJffc/oZMqKciD/A1BClij4+XaqsnXRvhCU2NCGT0kWXt+E8eV6yu Ck0fy0YW3uL/+3Z3eIG+VL27oqUx0fsk1UHKPTeJb5H5y3EQVEFIUkpL/ubtYoDX1/Jt 5uSKBt4XxnpT64y/PX/hd3U+T5cJhUOoc5oM4TPgJoJGJmPX1X/aNBz9+9Com58Az82l qpnA== X-Gm-Message-State: AG10YOQ66mLqd7SkdQSariqB0oZnGbC9uen2dMMXphPnRuvdXkuCdtksCdBt/MM2xvBNBg== 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160119_051153_279389_2F2E6324 X-CRM114-Status: GOOD ( 11.15 ) 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,RP_MATCHES_RCVD,T_DKIM_INVALID,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 Acked-by: Marc Zyngier --- 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);