From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: [PATCH 1/5] sparc: simplify Date: Sat, 3 Jun 2017 21:00:58 +0200 Message-ID: <20170603190102.28866-2-hch@lst.de> References: <20170603190102.28866-1-hch@lst.de> Return-path: In-Reply-To: <20170603190102.28866-1-hch@lst.de> Sender: linux-ia64-owner@vger.kernel.org To: Arnd Bergmann , Thomas Gleixner , "David S. Miller" , Tony Luck , Fenghua Yu Cc: linux-arch@vger.kernel.org, sparclinux@vger.kernel.org, linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org List-Id: linux-arch.vger.kernel.org There is no need for the forward declaration of compat_siginfo provided here. We can't yet use the generic header as we need to pull in the sparc-specific version of the uapi , but this prepares for removing the non-uapi entirely. Signed-off-by: Christoph Hellwig --- arch/sparc/include/asm/siginfo.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/arch/sparc/include/asm/siginfo.h b/arch/sparc/include/asm/siginfo.h index 48c34c19f810..dd2f2fce976b 100644 --- a/arch/sparc/include/asm/siginfo.h +++ b/arch/sparc/include/asm/siginfo.h @@ -1,13 +1 @@ -#ifndef __SPARC_SIGINFO_H -#define __SPARC_SIGINFO_H - #include - - -#ifdef CONFIG_COMPAT - -struct compat_siginfo; - -#endif /* CONFIG_COMPAT */ - -#endif /* !(__SPARC_SIGINFO_H) */ -- 2.11.0 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from bombadil.infradead.org ([65.50.211.133]:48457 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751154AbdFCTBM (ORCPT ); Sat, 3 Jun 2017 15:01:12 -0400 From: Christoph Hellwig Subject: [PATCH 1/5] sparc: simplify Date: Sat, 3 Jun 2017 21:00:58 +0200 Message-ID: <20170603190102.28866-2-hch@lst.de> In-Reply-To: <20170603190102.28866-1-hch@lst.de> References: <20170603190102.28866-1-hch@lst.de> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Arnd Bergmann , Thomas Gleixner , "David S. Miller" , Tony Luck , Fenghua Yu Cc: linux-arch@vger.kernel.org, sparclinux@vger.kernel.org, linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org Message-ID: <20170603190058.zaMkcwSzYq2IXI1-CTA23GTbbu1nB6quCxEs-WFkrTo@z> There is no need for the forward declaration of compat_siginfo provided here. We can't yet use the generic header as we need to pull in the sparc-specific version of the uapi , but this prepares for removing the non-uapi entirely. Signed-off-by: Christoph Hellwig --- arch/sparc/include/asm/siginfo.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/arch/sparc/include/asm/siginfo.h b/arch/sparc/include/asm/siginfo.h index 48c34c19f810..dd2f2fce976b 100644 --- a/arch/sparc/include/asm/siginfo.h +++ b/arch/sparc/include/asm/siginfo.h @@ -1,13 +1 @@ -#ifndef __SPARC_SIGINFO_H -#define __SPARC_SIGINFO_H - #include - - -#ifdef CONFIG_COMPAT - -struct compat_siginfo; - -#endif /* CONFIG_COMPAT */ - -#endif /* !(__SPARC_SIGINFO_H) */ -- 2.11.0