Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc/sparc Nuke dead code.
details: https://anonhg.NetBSD.org/src/rev/42a4c9580567
branches: trunk
changeset: 483834:42a4c9580567
user: pk <pk%NetBSD.org@localhost>
date: Sun Mar 19 13:38:54 2000 +0000
description:
Nuke dead code.
diffstat:
sys/arch/sparc/sparc/clock.c | 12 +-----------
sys/arch/sparc/sparc/intr.c | 9 +--------
2 files changed, 2 insertions(+), 19 deletions(-)
diffs (71 lines):
diff -r a1095db81995 -r 42a4c9580567 sys/arch/sparc/sparc/clock.c
--- a/sys/arch/sparc/sparc/clock.c Sun Mar 19 13:29:14 2000 +0000
+++ b/sys/arch/sparc/sparc/clock.c Sun Mar 19 13:38:54 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: clock.c,v 1.70 2000/02/05 12:32:57 pk Exp $ */
+/* $NetBSD: clock.c,v 1.71 2000/03/19 13:38:54 pk Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -81,7 +81,6 @@
#include <sparc/sparc/cpuvar.h>
#include <sparc/sparc/clockreg.h>
#include <sparc/sparc/timerreg.h>
-#include "kbd.h"
/*
* Statistics clock interval and variance, in usec. Variance must be a
@@ -941,10 +940,6 @@
{
register volatile int discard;
int s;
-#if NKBD > 0
- extern int cnrom __P((void));
- extern int rom_console_input;
-#endif
/*
* Protect the clearing of the clock interrupt. If we don't
@@ -976,11 +971,6 @@
splx(s);
hardclock((struct clockframe *)cap);
-#if NKBD > 0
- if (rom_console_input && cnrom())
- setsoftint();
-#endif
-
return (1);
}
diff -r a1095db81995 -r 42a4c9580567 sys/arch/sparc/sparc/intr.c
--- a/sys/arch/sparc/sparc/intr.c Sun Mar 19 13:29:14 2000 +0000
+++ b/sys/arch/sparc/sparc/intr.c Sun Mar 19 13:38:54 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: intr.c,v 1.43 2000/02/21 20:38:50 erh Exp $ */
+/* $NetBSD: intr.c,v 1.44 2000/03/19 13:38:55 pk Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -96,7 +96,6 @@
#include <net/ppp_defs.h>
#include <net/if_ppp.h>
#endif
-#include "kbd.h"
#include "com.h"
#if NCOM > 0
extern void comsoft __P((void));
@@ -144,13 +143,7 @@
soft01intr(fp)
void *fp;
{
-#if NKBD > 0
- extern int cnrom __P((void));
- extern int rom_console_input;
- if (rom_console_input && cnrom())
- cnrint();
-#endif
if (sir.sir_any) {
/*
* XXX this is bogus: should just have a list of
Home |
Main Index |
Thread Index |
Old Index