Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1667298pxa; Thu, 6 Aug 2020 12:55:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwAgPKGOi3H+qD9ZKZDKvTwk90DcOjyVWqE0sAGx/2djXEKTjTWPllWQDtNbG4LmhiAadm/ X-Received: by 2002:a17:906:dbd8:: with SMTP id yc24mr5947632ejb.176.1596743707505; Thu, 06 Aug 2020 12:55:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596743707; cv=none; d=google.com; s=arc-20160816; b=CfgnHg2XP94Jk+WY4M8jxQr+5dIBtm3bRoJoiyK3HCAPotnpk6wLM73zZwkY6cn97c 8LfZzE/aGRPygeDSUhLK7K6JwJHjZ4aB+abr5dmXI+FaDLvjKotDQn08I0K3Fi1q5SmF +IPFrAimXxyDgqp2xIrhFpLYLoq6o2LK3UU3M4LyGJbRZFJKCxSqQm1Mr82I8MTx0OVE tbcxlHGnqthJ3wf+1M1n0Wx4fSfPcTQVC4S2JlmfSZ5dLBruBTvrvGM91uJwgDXCoJsM EVPNVCosI/Qer8ON9qhmOf0DPIc7S0BA0nGr2XvnClCdZUaZpb6rhb3sxSvazU9QmXEH SRyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:cc:to:subject:from:message-id; bh=Czdtph6hYsVyKmxRbDN/o4hPszSLSrJFoTZz0Zkyuv4=; b=bXdaMi+MG9mn1a/SWRgzRFMrLqFwKoQG2XG6ucKdK3rpDJdU2rB8YKLUY5/g5B1ji7 xgdUo79jj7ylKUAaU1JHobLnSB2ECDoNVi3dCSkr3/1TgQ4ZPiYCh9w0eC9WuPbZaD8A yRhKUvvjAXogPBsU75fc/dfDKSp1qgndGK4TlPbHuQGsaOhCAcxNyo0O+gyLBzAX0uu7 Yyn7DNlcithYDqWMmasZ9h+ss1Pf4KqFT+mHnh5YR9WzPldtdgVdEvJU49tBJ+2aHt4y 6Mve6ztA5Pf9PJRp+tOP7i3omT8/Y49p17Z92vh1FAK45kAMx5uWiV8cCmdVX9WX1Mia CxJw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f1si3872019edr.11.2020.08.06.12.54.42; Thu, 06 Aug 2020 12:55:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726382AbgHFTvP (ORCPT + 99 others); Thu, 6 Aug 2020 15:51:15 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:48268 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725875AbgHFTvH (ORCPT ); Thu, 6 Aug 2020 15:51:07 -0400 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 4BMnbY0Y3jzB09ZN; Thu, 6 Aug 2020 14:19:05 +0200 (CEST) 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 bFg_GTa5cAGs; Thu, 6 Aug 2020 14:19:05 +0200 (CEST) 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 4BMnbX668szB09ZL; Thu, 6 Aug 2020 14:19:04 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id AA0A98B80D; Thu, 6 Aug 2020 14:19:06 +0200 (CEST) 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 ozphOjRIqCMj; Thu, 6 Aug 2020 14:19:06 +0200 (CEST) Received: from po16052vm.idsi0.si.c-s.fr (po15451.idsi0.si.c-s.fr [172.25.230.102]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 708248B7FC; Thu, 6 Aug 2020 14:19:06 +0200 (CEST) Received: by po16052vm.idsi0.si.c-s.fr (Postfix, from userid 0) id 60DC265BEB; Thu, 6 Aug 2020 12:19:06 +0000 (UTC) Message-Id: From: Christophe Leroy Subject: [PATCH] powerpc/hwirq: Remove stale forward irq_chip declaration To: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Date: Thu, 6 Aug 2020 12:19:06 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since commit identified below, the forward declaration of struct irq_chip is useless (was struct hw_interrupt_type at that time) Remove it, together with the associated comment. Fixes: c0ad90a32fb6 ("[PATCH] genirq: add ->retrigger() irq op to consolidate hw_irq_resend()") Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/hw_irq.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/arch/powerpc/include/asm/hw_irq.h b/arch/powerpc/include/asm/hw_irq.h index 3a0db7b0b46e..538698facb80 100644 --- a/arch/powerpc/include/asm/hw_irq.h +++ b/arch/powerpc/include/asm/hw_irq.h @@ -372,12 +372,6 @@ static inline void may_hard_irq_enable(void) { } #define ARCH_IRQ_INIT_FLAGS IRQ_NOREQUEST -/* - * interrupt-retrigger: should we handle this via lost interrupts and IPIs - * or should we not care like we do now ? --BenH. - */ -struct irq_chip; - #endif /* __ASSEMBLY__ */ #endif /* __KERNEL__ */ #endif /* _ASM_POWERPC_HW_IRQ_H */ -- 2.25.0