diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2001-08-06 20:50:29 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2001-08-06 20:50:29 +0000 |
commit | 83a20ed531bbd44bed77820e260e02b1ec65d036 (patch) | |
tree | 902b6859a20d53e47c68a16d1db93f7b91e1f62b /sys/scsi | |
parent | e8addba2b3418f14c2b65634a20c928fb2af93de (diff) |
Remove legacy __BDEVSW_DUMP_OLD_TYPE code.
Diffstat (limited to 'sys/scsi')
-rw-r--r-- | sys/scsi/sd.c | 16 |
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. |