summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/dev/vmel.c
diff options
context:
space:
mode:
authorSteve Murphree <smurph@cvs.openbsd.org>2001-03-09 05:44:44 +0000
committerSteve Murphree <smurph@cvs.openbsd.org>2001-03-09 05:44:44 +0000
commit4424fbaf9a87f60b70a8e78a26ca3c269d4851d6 (patch)
tree854dcd80017eaca186784e5b5d007809cecfaf6d /sys/arch/mvme88k/dev/vmel.c
parent70dc353ae31df19a481d5ec5cd2f83804fa0f7ea (diff)
kernel will compile with -Werror. Added intr.h
Diffstat (limited to 'sys/arch/mvme88k/dev/vmel.c')
-rw-r--r--sys/arch/mvme88k/dev/vmel.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/arch/mvme88k/dev/vmel.c b/sys/arch/mvme88k/dev/vmel.c
index 064a8fb4b26..ece0f933461 100644
--- a/sys/arch/mvme88k/dev/vmel.c
+++ b/sys/arch/mvme88k/dev/vmel.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmel.c,v 1.2 1998/12/15 05:52:31 smurph Exp $ */
+/* $OpenBSD: vmel.c,v 1.3 2001/03/09 05:44:39 smurph Exp $ */
/*
* Copyright (c) 1995 Theo de Raadt
@@ -118,8 +118,6 @@ vmelioctl(dev, cmd, data, flag, p)
int cmd, flag;
struct proc *p;
{
- int unit = minor(dev);
- struct vmelsoftc *sc = (struct vmelsoftc *) vmel_cd.cd_devs[unit];
int error = 0;
switch (cmd) {