Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sh3/sh3 remove unused code
details: https://anonhg.NetBSD.org/src/rev/fc3234cec29f
branches: trunk
changeset: 791219:fc3234cec29f
user: christos <christos%NetBSD.org@localhost>
date: Sat Nov 09 02:23:57 2013 +0000
description:
remove unused code
diffstat:
sys/arch/sh3/sh3/db_trace.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diffs (35 lines):
diff -r efe87b790722 -r fc3234cec29f sys/arch/sh3/sh3/db_trace.c
--- a/sys/arch/sh3/sh3/db_trace.c Sat Nov 09 00:35:00 2013 +0000
+++ b/sys/arch/sh3/sh3/db_trace.c Sat Nov 09 02:23:57 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: db_trace.c,v 1.24 2013/08/06 21:41:01 uwe Exp $ */
+/* $NetBSD: db_trace.c,v 1.25 2013/11/09 02:23:57 christos Exp $ */
/*-
* Copyright (c) 2000 Tsubai Masanari. All rights reserved.
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_trace.c,v 1.24 2013/08/06 21:41:01 uwe Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_trace.c,v 1.25 2013/11/09 02:23:57 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -82,7 +82,6 @@
struct trapframe *tf;
db_addr_t callpc, frame, lastframe;
uint32_t vbr;
- bool kernel_only = true;
bool lwpid = false;
bool lwpaddr = false;
const char *cp;
@@ -96,8 +95,6 @@
lwpaddr = true;
else if (c == 't')
lwpid = true;
- else if (c == 'u')
- kernel_only = false;
}
if (lwpaddr && lwpid) {
Home |
Main Index |
Thread Index |
Old Index