diff options
author | phk <phk@FreeBSD.org> | 2002-03-29 21:12:11 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-03-29 21:12:11 +0000 |
commit | b6715b27c17b5f220923dd9dbe75f96b0b839f25 (patch) | |
tree | 8c15604db336ef16f0e1c4ab16b358764712f5c3 /sys/dev/ccd | |
parent | e611c891deb33d2e53ba8d1a6c08f46075169752 (diff) | |
download | FreeBSD-src-b6715b27c17b5f220923dd9dbe75f96b0b839f25.zip FreeBSD-src-b6715b27c17b5f220923dd9dbe75f96b0b839f25.tar.gz |
Remove bogus ccddump() function in favour of the standard nodump.
Diffstat (limited to 'sys/dev/ccd')
-rw-r--r-- | sys/dev/ccd/ccd.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/sys/dev/ccd/ccd.c b/sys/dev/ccd/ccd.c index 54b3a13..36ee08d 100644 --- a/sys/dev/ccd/ccd.c +++ b/sys/dev/ccd/ccd.c @@ -164,7 +164,6 @@ static d_open_t ccdopen; static d_close_t ccdclose; static d_strategy_t ccdstrategy; static d_ioctl_t ccdioctl; -static d_dump_t ccddump; static d_psize_t ccdsize; #define NCCDFREEHIWAT 16 @@ -182,7 +181,7 @@ static struct cdevsw ccd_cdevsw = { /* strategy */ ccdstrategy, /* name */ "ccd", /* maj */ CDEV_MAJOR, - /* dump */ ccddump, + /* dump */ nodump, /* psize */ ccdsize, /* flags */ D_DISK, }; @@ -1585,14 +1584,6 @@ ccdsize(dev_t dev) return (size); } -static int -ccddump(dev_t dev) -{ - - /* Not implemented. */ - return ENXIO; -} - /* * Lookup the provided name in the filesystem. If the file exists, * is a valid block device, and isn't being used by anyone else, |