diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2005-02-12 18:00:55 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2005-02-12 18:00:55 +0000 |
commit | 1b5ccdd77751152d2270e7d0ef37a2f5ca8a654a (patch) | |
tree | 1c0017df49d929dec6ef71719de0ce3a3ceafed4 | |
parent | 81bbc9304d93413707cb1c9b3f51aeb66eac779d (diff) |
consinit_active is not used anymore.
-rw-r--r-- | sys/arch/hp300/hp300/machdep.c | 6 | ||||
-rw-r--r-- | sys/arch/hp300/include/autoconf.h | 3 |
2 files changed, 2 insertions, 7 deletions
diff --git a/sys/arch/hp300/hp300/machdep.c b/sys/arch/hp300/hp300/machdep.c index 9f17e8b18d6..12feb84bae2 100644 --- a/sys/arch/hp300/hp300/machdep.c +++ b/sys/arch/hp300/hp300/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.99 2005/01/14 22:49:24 miod Exp $ */ +/* $OpenBSD: machdep.c,v 1.100 2005/02/12 18:00:51 miod Exp $ */ /* $NetBSD: machdep.c,v 1.121 1999/03/26 23:41:29 mycroft Exp $ */ /* @@ -167,7 +167,6 @@ void nmihand(struct frame); * "internal" framebuffer. */ int conscode; -int consinit_active; /* flag for driver init routines */ caddr_t conaddr; /* for drivers in cn_init() */ int convasize; /* size of mapped console device */ int conforced; /* console has been forced */ @@ -215,7 +214,6 @@ consinit() /* * Initialize some variables for sanity. */ - consinit_active = 1; convasize = 0; conforced = 0; conscode = 1024; /* invalid */ @@ -232,8 +230,6 @@ consinit() */ hp300_cninit(); - consinit_active = 0; - #ifdef DDB ddb_init(); if (boothowto & RB_KDB) diff --git a/sys/arch/hp300/include/autoconf.h b/sys/arch/hp300/include/autoconf.h index 29853abc89e..ee6a04e0bcb 100644 --- a/sys/arch/hp300/include/autoconf.h +++ b/sys/arch/hp300/include/autoconf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: autoconf.h,v 1.9 2005/01/14 22:39:29 miod Exp $ */ +/* $OpenBSD: autoconf.h,v 1.10 2005/02/12 18:00:54 miod Exp $ */ /* $NetBSD: autoconf.h,v 1.4 1997/04/01 03:03:56 scottr Exp $ */ /*- @@ -39,7 +39,6 @@ #ifdef _KERNEL extern int conscode; /* select code of console device */ -extern int consinit_active; /* hint for drivers */ extern caddr_t conaddr; /* KVA of console device */ extern int convasize; /* size of mapping at conaddr */ extern int conforced; /* console has been forced */ |