diff options
author | phk <phk@FreeBSD.org> | 2002-03-29 21:14:34 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-03-29 21:14:34 +0000 |
commit | 2ecb9b4bd4399866302b2c89fea04b866842b995 (patch) | |
tree | a9e70c5488bf22d3bcfd866fc43797ec38b1d194 /sys | |
parent | b6715b27c17b5f220923dd9dbe75f96b0b839f25 (diff) | |
download | FreeBSD-src-2ecb9b4bd4399866302b2c89fea04b866842b995.zip FreeBSD-src-2ecb9b4bd4399866302b2c89fea04b866842b995.tar.gz |
Remove bogus vinumdump(), if you can't dump, say so with nodump().
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/vinum/vinum.c | 9 | ||||
-rw-r--r-- | sys/dev/vinum/vinumext.h | 1 |
2 files changed, 1 insertions, 9 deletions
diff --git a/sys/dev/vinum/vinum.c b/sys/dev/vinum/vinum.c index 8173f0c..5ea226d 100644 --- a/sys/dev/vinum/vinum.c +++ b/sys/dev/vinum/vinum.c @@ -57,7 +57,7 @@ struct cdevsw vinum_cdevsw = { vinumopen, vinumclose, physread, physwrite, vinumioctl, seltrue, nommap, vinumstrategy, - "vinum", VINUM_CDEV_MAJOR, vinumdump, vinumsize, + "vinum", VINUM_CDEV_MAJOR, nodump, vinumsize, D_DISK }; @@ -492,13 +492,6 @@ vinumsize(dev_t dev) return size; } -int -vinumdump(dev_t dev) -{ - /* Not implemented. */ - return ENXIO; -} - /* Local Variables: */ /* fill-column: 50 */ /* End: */ diff --git a/sys/dev/vinum/vinumext.h b/sys/dev/vinum/vinumext.h index 9d98ee8..f078200 100644 --- a/sys/dev/vinum/vinumext.h +++ b/sys/dev/vinum/vinumext.h @@ -140,7 +140,6 @@ d_open_t vinumopen; d_close_t vinumclose; d_strategy_t vinumstrategy; d_ioctl_t vinumioctl; -d_dump_t vinumdump; d_psize_t vinumsize; int vinumstart(struct buf *bp, int reviveok); |