Remove unused stuff
This commit is contained in:
parent
e268264882
commit
b2d2477c73
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: clock.c,v 1.85 2007/05/17 14:51:31 yamt Exp $ */
|
||||
/* $NetBSD: clock.c,v 1.86 2007/08/29 11:34:14 martin Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
|
@ -55,7 +55,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: clock.c,v 1.85 2007/05/17 14:51:31 yamt Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: clock.c,v 1.86 2007/08/29 11:34:14 martin Exp $");
|
||||
|
||||
#include "opt_multiprocessor.h"
|
||||
|
||||
|
@ -435,8 +435,6 @@ clockintr(void *cap)
|
|||
return (1);
|
||||
}
|
||||
|
||||
int poll_console = 0;
|
||||
|
||||
/*
|
||||
* Level 10 (clock) interrupts. If we are using the FORTH PROM for
|
||||
* console input, we need to check for that here as well, and generate
|
||||
|
@ -450,14 +448,7 @@ tickintr(void *cap)
|
|||
{
|
||||
int s;
|
||||
|
||||
#if NKBD > 0
|
||||
extern int cnrom(void);
|
||||
extern int rom_console_input;
|
||||
#endif
|
||||
|
||||
hardclock((struct clockframe *)cap);
|
||||
if (poll_console)
|
||||
setsoftint();
|
||||
|
||||
s = splhigh();
|
||||
/* Reset the interrupt */
|
||||
|
|
Loading…
Reference in New Issue