Commit-ID:  f70c80068f073ace4b9071803d2e2691fe0c3d05
Gitweb:     http://git.kernel.org/tip/f70c80068f073ace4b9071803d2e2691fe0c3d05
Author:     Christoph Hellwig <h...@lst.de>
AuthorDate: Sat, 3 Jun 2017 21:00:58 +0200
Committer:  Thomas Gleixner <t...@linutronix.de>
CommitDate: Sun, 4 Jun 2017 15:11:45 +0200

sparc: Simplify <asm/siginfo.h>

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 <asm/siginfo.h>, but this prepares
for removing the non-uapi <asm/siginfo.h> entirely.

Signed-off-by: Christoph Hellwig <h...@lst.de>
Acked-by: "David S. Miller" <da...@davemloft.net>
Signed-off-by: Thomas Gleixner <t...@linutronix.de>
Cc: linux-a...@vger.kernel.org
Cc: Fenghua Yu <fenghua...@intel.com>
Cc: Tony Luck <tony.l...@intel.com>
Cc: linux-i...@vger.kernel.org
Cc: Arnd Bergmann <a...@arndb.de>
Cc: sparcli...@vger.kernel.org
Link: http://lkml.kernel.org/r/20170603190102.28866-2-...@lst.de

---
 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 48c34c1..dd2f2fc 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 <uapi/asm/siginfo.h>
-
-
-#ifdef CONFIG_COMPAT
-
-struct compat_siginfo;
-
-#endif /* CONFIG_COMPAT */
-
-#endif /* !(__SPARC_SIGINFO_H) */

Reply via email to