summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordrahn <drahn@openbsd.org>2001-09-10 12:58:50 +0000
committerdrahn <drahn@openbsd.org>2001-09-10 12:58:50 +0000
commitfa81c0c0bb9a357cff8fb0c367c2e4ec7dcdfd4b (patch)
tree0366820187048d6dfaae0e1c50d3e055589006d4
parentDevice addresses should be mapped. It should be converted to bus_ accesses. (diff)
downloadwireguard-openbsd-fa81c0c0bb9a357cff8fb0c367c2e4ec7dcdfd4b.tar.xz
wireguard-openbsd-fa81c0c0bb9a357cff8fb0c367c2e4ec7dcdfd4b.zip
Remove some unused global variables.
-rw-r--r--sys/arch/macppc/dev/openpic.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/arch/macppc/dev/openpic.c b/sys/arch/macppc/dev/openpic.c
index 701afd28e13..f3d3262a610 100644
--- a/sys/arch/macppc/dev/openpic.c
+++ b/sys/arch/macppc/dev/openpic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: openpic.c,v 1.2 2001/09/01 17:43:09 drahn Exp $ */
+/* $OpenBSD: openpic.c,v 1.3 2001/09/10 12:58:50 drahn Exp $ */
/*-
* Copyright (c) 1995 Per Fogelstrom
@@ -77,12 +77,9 @@ static int mapirq __P((int irq));
int prog_switch __P((void *arg));
void openpic_enable_irq_mask __P((int irq_mask));
-extern u_int32_t *heathrow_FCR;
-
#define HWIRQ_MAX 27
#define HWIRQ_MASK 0x0fffffff
-
static __inline u_int openpic_read __P((int));
static __inline void openpic_write __P((int, u_int));
void openpic_enable_irq __P((int, int));
@@ -132,7 +129,6 @@ openpic_match(parent, cf, aux)
return 0;
}
-u_int8_t *interrupt_reg;
typedef void (void_f) (void);
extern void_f *pending_int_f;