summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2008-01-13 20:18:57 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2008-01-13 20:18:57 +0000
commit03bf653387a8bf3c826b11ba4985b2e3a1df669d (patch)
treee3766cd5a09129e17f9ec9df60125e1ba744ba2f
parentddc0ba8683c9d2e6130c03a25dc909003424edb9 (diff)
Remove unused cpumod variable.
-rw-r--r--sys/arch/mvme88k/include/param.h10
-rw-r--r--sys/arch/mvme88k/mvme88k/machdep.c3
2 files changed, 2 insertions, 11 deletions
diff --git a/sys/arch/mvme88k/include/param.h b/sys/arch/mvme88k/include/param.h
index 85f6c35a77e..25cc5185756 100644
--- a/sys/arch/mvme88k/include/param.h
+++ b/sys/arch/mvme88k/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.38 2006/07/07 19:36:52 miod Exp $ */
+/* $OpenBSD: param.h,v 1.39 2008/01/13 20:18:54 miod Exp $ */
/*
* Copyright (c) 1999 Steve Murphree, Jr.
* Copyright (c) 1988 University of Utah.
@@ -56,7 +56,6 @@
#ifdef _KERNEL
#if !defined(_LOCORE)
extern int brdtyp;
-extern int cpumod;
#endif
/*
@@ -67,12 +66,5 @@ extern int cpumod;
#define BRD_197 0x197
#define BRD_8120 0x8120
-/*
- * Values for the cpumod variable.
- */
-#define MOD_LE 0x01
-#define MOD_SP 0x02
-#define MOD_DP 0x03
-
#endif /* _KERNEL */
#endif /* !_MACHINE_PARAM_H_ */
diff --git a/sys/arch/mvme88k/mvme88k/machdep.c b/sys/arch/mvme88k/mvme88k/machdep.c
index c51f2f55019..a0f475a6219 100644
--- a/sys/arch/mvme88k/mvme88k/machdep.c
+++ b/sys/arch/mvme88k/mvme88k/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.207 2007/12/31 09:23:54 martin Exp $ */
+/* $OpenBSD: machdep.c,v 1.208 2008/01/13 20:18:56 miod Exp $ */
/*
* Copyright (c) 1998, 1999, 2000, 2001 Steve Murphree, Jr.
* Copyright (c) 1996 Nivas Madhur
@@ -166,7 +166,6 @@ int boothowto; /* set in locore.S */
int bootdev; /* set in locore.S */
int cputyp; /* set in locore.S */
int brdtyp; /* set in locore.S */
-int cpumod; /* set in mvme_bootstrap() */
int cpuspeed = 25; /* safe guess */
vaddr_t first_addr;