linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: trix@redhat.com
To: ysato@users.sourceforge.jp
Cc: uclinux-h8-devel@lists.sourceforge.jp,
	linux-kernel@vger.kernel.org, Tom Rix <trix@redhat.com>
Subject: [PATCH] h8300: bug: remove foreward decl of die()
Date: Thu, 17 Jun 2021 14:50:27 -0700	[thread overview]
Message-ID: <20210617215027.3501613-1-trix@redhat.com> (raw)

From: Tom Rix <trix@redhat.com>

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@redhat.com>
---
 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


                 reply	other threads:[~2021-06-17 21:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210617215027.3501613-1-trix@redhat.com \
    --to=trix@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=uclinux-h8-devel@lists.sourceforge.jp \
    --cc=ysato@users.sourceforge.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).