[PATCH] h8300: bug: remove foreward decl of die()

From: trix
Date: Thu Jun 17 2021 - 17:50:43 EST


From: Tom Rix <trix@xxxxxxxxxx>

die() is defined arch/h8300/kernel/traps.c
and is used in arch/h8300/mm/fault.c

fault.c has a local forward decl of die()
So remove the decl in bug.h

Signed-off-by: Tom Rix <trix@xxxxxxxxxx>
---
arch/h8300/include/asm/bug.h | 3 ---
1 file changed, 3 deletions(-)

diff --git a/arch/h8300/include/asm/bug.h b/arch/h8300/include/asm/bug.h
index 00fe5e966bb5b..99e7be5dc6564 100644
--- a/arch/h8300/include/asm/bug.h
+++ b/arch/h8300/include/asm/bug.h
@@ -7,7 +7,4 @@

#include <asm-generic/bug.h>

-struct pt_regs;
-extern void die(const char *str, struct pt_regs *fp, unsigned long err);
-
#endif
--
2.26.3