Author: mhorne
Date: Sun Jun  9 15:52:26 2019
New Revision: 348840
URL: https://svnweb.freebsd.org/changeset/base/348840

Log:
  Remove unused mcall_trap() function
  
  The mcall_trap() dummy function is unused, and should be removed as we
  are unlikely to support M-mode traps any time soon.
  
  Reviewed by:  markj
  Approved by:  markj (mentor)
  MFC after:    3 days
  Differential Revision:        https://reviews.freebsd.org/D20494

Modified:
  head/sys/riscv/riscv/machdep.c

Modified: head/sys/riscv/riscv/machdep.c
==============================================================================
--- head/sys/riscv/riscv/machdep.c      Sun Jun  9 15:50:35 2019        
(r348839)
+++ head/sys/riscv/riscv/machdep.c      Sun Jun  9 15:52:26 2019        
(r348840)
@@ -126,15 +126,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)
 {
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to