svn commit: r349489 - stable/12/sys/riscv/riscv

Mitchell Horne mhorne at FreeBSD.org
Fri Jun 28 00:58:56 UTC 2019


Author: mhorne
Date: Fri Jun 28 00:58:54 2019
New Revision: 349489
URL: https://svnweb.freebsd.org/changeset/base/349489

Log:
  MFC r348840:
  Remove unused mcall_trap() function
  
  Approved by:	markj (mentor, implicit)

Modified:
  stable/12/sys/riscv/riscv/machdep.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/riscv/riscv/machdep.c
==============================================================================
--- stable/12/sys/riscv/riscv/machdep.c	Fri Jun 28 00:56:26 2019	(r349488)
+++ stable/12/sys/riscv/riscv/machdep.c	Fri Jun 28 00:58:54 2019	(r349489)
@@ -125,15 +125,6 @@ cpuset_t all_harts;
 extern int *end;
 extern int *initstack_end;
 
-uintptr_t mcall_trap(uintptr_t mcause, uintptr_t* regs);
-
-uintptr_t
-mcall_trap(uintptr_t mcause, uintptr_t* regs)
-{
-
-	return (0);
-}
-
 static void
 cpu_startup(void *dummy)
 {


More information about the svn-src-all mailing list