summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2001-08-06 20:50:29 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2001-08-06 20:50:29 +0000
commit83a20ed531bbd44bed77820e260e02b1ec65d036 (patch)
tree902b6859a20d53e47c68a16d1db93f7b91e1f62b /sys/dev
parente8addba2b3418f14c2b65634a20c928fb2af93de (diff)
Remove legacy __BDEVSW_DUMP_OLD_TYPE code.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ata/wd.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/sys/dev/ata/wd.c b/sys/dev/ata/wd.c
index df9415fd387..68455c9aced 100644
--- a/sys/dev/ata/wd.c
+++ b/sys/dev/ata/wd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wd.c,v 1.18 2001/07/31 07:07:00 csapuntz Exp $ */
+/* $OpenBSD: wd.c,v 1.19 2001/08/06 20:50:28 miod Exp $ */
/* $NetBSD: wd.c,v 1.193 1999/02/28 17:15:27 explorer Exp $ */
/*
@@ -1100,7 +1100,6 @@ wdsize(dev)
return (size);
}
-#ifndef __BDEVSW_DUMP_OLD_TYPE
/* #define WD_DUMP_NOT_TRUSTED if you just want to watch */
static int wddoingadump = 0;
static int wddumprecalibrated = 0;
@@ -1233,21 +1232,6 @@ again:
wddoingadump = 0;
return 0;
}
-#else /* __BDEVSW_DUMP_NEW_TYPE */
-
-
-int
-wddump(dev, blkno, va, size)
- dev_t dev;
- daddr_t blkno;
- caddr_t va;
- size_t size;
-{
-
- /* Not implemented. */
- return ENXIO;
-}
-#endif /* __BDEVSW_DUMP_NEW_TYPE */
#ifdef DKBAD
/*