1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-31 16:57:10 +00:00

Remove bogus ccddump() function in favour of the standard nodump.

This commit is contained in:
Poul-Henning Kamp 2002-03-29 21:12:11 +00:00
parent 041b8b0058
commit 6ede0acccc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=93395
2 changed files with 2 additions and 20 deletions

View File

@ -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,

View File

@ -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,