openrisc/traps: Remove die_if_kernel function
authorStafford Horne <shorne@gmail.com>
Sat, 5 Feb 2022 13:41:41 +0000 (22:41 +0900)
committerStafford Horne <shorne@gmail.com>
Mon, 23 May 2022 08:15:49 +0000 (17:15 +0900)
commitde901d12df896ffab7f08b26a5abcbc5e720b455
tree4902e00213e76f217b2521d80af01b0e3b8c48b6
parentf4b26b1a7b3e10b6e26078d80d035574b0975185
openrisc/traps: Remove die_if_kernel function

This was noticed when I saw this warning:

    arch/openrisc/kernel/traps.c:234:6: warning: no previous prototype for 'die_if_kernel' [-Wmissing-prototypes]
      234 | void die_if_kernel(const char *str, struct pt_regs *regs, long err)
  |      ^~~~~~~~~~~~~

The die_if_kernel function is not used in the OpenRISC port so remove
it.

Signed-off-by: Stafford Horne <shorne@gmail.com>
arch/openrisc/kernel/traps.c