svn commit: r323145 - stable/11/sys/i386/i386

Konstantin Belousov kib at FreeBSD.org
Sun Sep 3 09:16:25 UTC 2017


Author: kib
Date: Sun Sep  3 09:16:23 2017
New Revision: 323145
URL: https://svnweb.freebsd.org/changeset/base/323145

Log:
  MFC r322928:
  Remove unused code.

Modified:
  stable/11/sys/i386/i386/trap.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/i386/i386/trap.c
==============================================================================
--- stable/11/sys/i386/i386/trap.c	Sun Sep  3 09:15:13 2017	(r323144)
+++ stable/11/sys/i386/i386/trap.c	Sun Sep  3 09:16:23 2017	(r323145)
@@ -731,16 +731,6 @@ kernel_trctrap:
 	KASSERT((read_eflags() & PSL_I) != 0, ("interrupts disabled"));
 	trapsignal(td, &ksi);
 
-#ifdef DEBUG
-	if (type <= MAX_TRAP_MSG) {
-		uprintf("fatal process exception: %s",
-			trap_msg[type]);
-		if ((type == T_PAGEFLT) || (type == T_PROTFLT))
-			uprintf(", fault VA = 0x%lx", (u_long)eva);
-		uprintf("\n");
-	}
-#endif
-
 user:
 	userret(td, frame);
 	KASSERT(PCB_USER_FPU(td->td_pcb),


More information about the svn-src-all mailing list