Module Name: src
Committed By: mrg
Date: Wed Nov 27 14:22:45 UTC 2013
Modified Files:
src/sys/arch/sparc64/sparc64: sunos_machdep.c
Log Message:
remove unused variable.
To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/sparc64/sparc64/sunos_machdep.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/sparc64/sparc64/sunos_machdep.c
diff -u src/sys/arch/sparc64/sparc64/sunos_machdep.c:1.31 src/sys/arch/sparc64/sparc64/sunos_machdep.c:1.32
--- src/sys/arch/sparc64/sparc64/sunos_machdep.c:1.31 Sat Nov 21 04:16:52 2009
+++ src/sys/arch/sparc64/sparc64/sunos_machdep.c Wed Nov 27 14:22:45 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: sunos_machdep.c,v 1.31 2009/11/21 04:16:52 rmind Exp $ */
+/* $NetBSD: sunos_machdep.c,v 1.32 2013/11/27 14:22:45 mrg Exp $ */
/*
* Copyright (c) 1995 Matthew R. Green
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sunos_machdep.c,v 1.31 2009/11/21 04:16:52 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sunos_machdep.c,v 1.32 2013/11/27 14:22:45 mrg Exp $");
#ifdef _KERNEL_OPT
#include "opt_ddb.h"
@@ -87,7 +87,7 @@ sunos_sendsig(const ksiginfo_t *ksi, con
register struct sunos_sigframe *fp;
register struct trapframe64 *tf;
register int addr, onstack;
- struct rwindow32 *kwin, *oldsp, *newsp;
+ struct rwindow32 *oldsp, *newsp;
int sig = ksi->ksi_signo, error;
sig_t catcher = SIGACTION(p, sig).sa_handler;
struct sunos_sigframe sf;
@@ -160,7 +160,6 @@ sunos_sendsig(const ksiginfo_t *ksi, con
printf("sunos_sendsig: saving sf to %p, setting stack pointer %p to %p\n",
fp, &(((struct rwindow32 *)newsp)->rw_in[6]), oldsp);
#endif
- kwin = (struct rwindow32 *)(((char *)tf)-CCFSZ);
error = (rwindow_save(l) ||
copyout((void *)&sf, (void *)fp, sizeof sf) ||
suword(&(((struct rwindow32 *)newsp)->rw_in[6]), (u_long)oldsp));