summaryrefslogtreecommitdiff
path: root/sys/scsi
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/scsi
parente8addba2b3418f14c2b65634a20c928fb2af93de (diff)
Remove legacy __BDEVSW_DUMP_OLD_TYPE code.
Diffstat (limited to 'sys/scsi')
-rw-r--r--sys/scsi/sd.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/sys/scsi/sd.c b/sys/scsi/sd.c
index 756ea472e6a..fedfc8f0907 100644
--- a/sys/scsi/sd.c
+++ b/sys/scsi/sd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sd.c,v 1.48 2001/06/22 14:35:43 deraadt Exp $ */
+/* $OpenBSD: sd.c,v 1.49 2001/08/06 20:50:25 miod Exp $ */
/* $NetBSD: sd.c,v 1.111 1997/04/02 02:29:41 mycroft Exp $ */
/*-
@@ -1165,7 +1165,6 @@ sdsize(dev)
return size;
}
-#ifndef __BDEVSW_DUMP_OLD_TYPE
/* #define SD_DUMP_NOT_TRUSTED if you just want to watch */
static struct scsi_xfer sx;
static int sddoingadump;
@@ -1287,19 +1286,6 @@ sddump(dev, blkno, va, size)
sddoingadump = 0;
return 0;
}
-#else /* __BDEVSW_DUMP_OLD_TYPE */
-int
-sddump(dev, blkno, va, size)
- dev_t dev;
- daddr_t blkno;
- caddr_t va;
- size_t size;
-{
-
- /* Not implemented. */
- return ENXIO;
-}
-#endif /* __BDEVSW_DUMP_OLD_TYPE */
/*
* Copy up to len chars from src to dst, ignoring non-printables.