Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mips/mips Remove stray assignment.



details:   https://anonhg.NetBSD.org/src/rev/90de7ff4ccde
branches:  trunk
changeset: 817809:90de7ff4ccde
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat Sep 10 13:42:11 2016 +0000

description:
Remove stray assignment.

diffstat:

 sys/arch/mips/mips/trap.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r e01a249b80e0 -r 90de7ff4ccde sys/arch/mips/mips/trap.c
--- a/sys/arch/mips/mips/trap.c Sat Sep 10 13:40:14 2016 +0000
+++ b/sys/arch/mips/mips/trap.c Sat Sep 10 13:42:11 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: trap.c,v 1.242 2016/09/10 13:40:14 skrll Exp $ */
+/*     $NetBSD: trap.c,v 1.243 2016/09/10 13:42:11 skrll Exp $ */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.242 2016/09/10 13:40:14 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.243 2016/09/10 13:42:11 skrll Exp $");
 
 #include "opt_cputype.h"       /* which mips CPU levels do we support? */
 #include "opt_ddb.h"
@@ -443,7 +443,6 @@
                case EACCES:
                        ksi.ksi_signo = SIGSEGV;
                        ksi.ksi_code = SEGV_ACCERR;
-                       rv = EFAULT;
                        break;
                case ENOMEM:
                        ksi.ksi_signo = SIGKILL;



Home | Main Index | Thread Index | Old Index