Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp6915249imb; Sat, 9 Mar 2019 09:50:09 -0800 (PST) X-Google-Smtp-Source: APXvYqyKOI0EvnBHSWHfe8PiLRVrFH3yw0uSZeNCjk6SsFSUXSsVNjXBascx9THhqMy3/nRy/AL0 X-Received: by 2002:a17:902:7889:: with SMTP id q9mr25886857pll.305.1552153809579; Sat, 09 Mar 2019 09:50:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1552153809; cv=none; d=google.com; s=arc-20160816; b=YoRa206adVzr/64TC+aIZiMPS7kglBTckax4RJKequv5UXCliVwP23QuinTMT9XUbN SqXdrEkDfQY1dHUwjeY303lSMYGPYFavUFkrMgYD/nPZdDrkfxdAj5ySBOzUamY7VqhK QRibNrG6rBQmBhHOwkASBPtllZJN0NYdXSDOJ9rGGSQ8E4GQiFksr+hS0lixvlUl0MJb 26AR4L1qpbP3VfxBZwS3004y4G2soIbq6xI4kJHnJN+otVjJxbyjcU1TS/fHCHDn1RYr rgno38LM22jSgIhxER2r5YKODjmKyI2V1jWOz7TUHcMcV81r3xTUwl/V0uzY2o5JxnkB RvxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:cc:to:subject:from :dkim-signature; bh=/y6/+s++4k34i0GNG9aJNl5kiFfm+II+Vp07YTFtI0I=; b=hiWBU8uKHlQ7Jn/i/ZwLReodJ/d2mw4/N0w43U1xt/jfT8QUci9JCtJodc8vhFUeal CGGPyF3E7IwxLXn13/Vzqgd2nwqe3vaVtLFDoFLhu7G8DOk2fdMG2jl0PdU+PnTGrV3m rprhPdcJlz9arhvXdEEu8N4fQ137EoA4CI0DfQO1f++Lapffn9C2uB79ZFM0geMSVjI1 YuWLJblNpt75noW488n4Z9KyW4l7Ceg5NZrJY2thDm3v5bd77sp+AlHG9epHMMEP1ije O/eQR/MEmW/td07m/S7MRZR4FV9azRDk41kX8/WcXY4dITxhulE+WqIfBSfwmqiTkucA AZnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@c-s.fr header.s=mail header.b=E2CjHlOL; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z186si892562pgd.477.2019.03.09.09.49.54; Sat, 09 Mar 2019 09:50:09 -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; dkim=pass header.i=@c-s.fr header.s=mail header.b=E2CjHlOL; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726535AbfCIRsc (ORCPT + 99 others); Sat, 9 Mar 2019 12:48:32 -0500 Received: from pegase1.c-s.fr ([93.17.236.30]:61133 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726379AbfCIRsc (ORCPT ); Sat, 9 Mar 2019 12:48:32 -0500 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 44GsKn0K8tz9v0Zc; Sat, 9 Mar 2019 18:48:29 +0100 (CET) Authentication-Results: localhost; dkim=pass reason="1024-bit key; insecure key" header.d=c-s.fr header.i=@c-s.fr header.b=E2CjHlOL; dkim-adsp=pass; dkim-atps=neutral X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id rqnLqfvvlDYr; Sat, 9 Mar 2019 18:48:28 +0100 (CET) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 44GsKm6KB3z9v0Zb; Sat, 9 Mar 2019 18:48:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=c-s.fr; s=mail; t=1552153708; bh=/y6/+s++4k34i0GNG9aJNl5kiFfm+II+Vp07YTFtI0I=; h=From:Subject:To:Cc:Date:From; b=E2CjHlOLGvVQZ9RIIB5nbfq5FYQfPd5yBAHZNAiLgGIxtsAxOu8BOJrDjqV4KMCXY JPUrLrixLiEqkl53PPOFhYnPJs5FdHY2PTPoGndWPucyg9OpfT24ssMWawoMeQ7wGl b81lbYkXZQY+e2JMwaVHNhyvHp0yHbck2WDze5Uc= Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 8CCB88BFBC; Sat, 9 Mar 2019 18:48:30 +0100 (CET) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id 1on1RjBTICEW; Sat, 9 Mar 2019 18:48:30 +0100 (CET) Received: from localhost.localdomain (unknown [192.168.232.53]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 62F518B806; Sat, 9 Mar 2019 18:48:30 +0100 (CET) Received: by localhost.localdomain (Postfix, from userid 0) id 186371051B7; Sat, 9 Mar 2019 18:47:27 +0100 (CET) From: Christophe Leroy Subject: [PATCH] powerpc/irq: drop __irq_offset_value To: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Message-Id: <20190309174727.186371051B7@localhost.localdomain> Date: Sat, 9 Mar 2019 18:47:27 +0100 (CET) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch drops__irq_offset_value which has not been used since commit 9c4cb8251513 ("powerpc: Remove use of CONFIG_PPC_MERGE") This removes a sparse warning. Fixes: 9c4cb8251513 ("powerpc: Remove use of CONFIG_PPC_MERGE") Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/irq.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/powerpc/kernel/irq.c b/arch/powerpc/kernel/irq.c index 8a936723c791..6672fec75e2a 100644 --- a/arch/powerpc/kernel/irq.c +++ b/arch/powerpc/kernel/irq.c @@ -81,10 +81,7 @@ DEFINE_PER_CPU_SHARED_ALIGNED(irq_cpustat_t, irq_stat); EXPORT_PER_CPU_SYMBOL(irq_stat); -int __irq_offset_value; - #ifdef CONFIG_PPC32 -EXPORT_SYMBOL(__irq_offset_value); atomic_t ppc_n_lost_interrupts; #ifdef CONFIG_TAU_INT -- 2.17.1