mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-17 15:27:36 +00:00
NO_GEOM cleanup:
Remove cdevsw->d_size() implementation. No longer needed.
This commit is contained in:
parent
e8e018a984
commit
9c486c30e2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=111735
@ -92,13 +92,6 @@ dead_strategy(struct bio *bp)
|
||||
|
||||
#define dead_dump (dumper_t *)enxio
|
||||
|
||||
static int
|
||||
dead_psize(dev_t dev)
|
||||
{
|
||||
|
||||
return (-1);
|
||||
}
|
||||
|
||||
#define dead_kqfilter (d_kqfilter_t *)enxio
|
||||
|
||||
static struct cdevsw dead_cdevsw = {
|
||||
@ -113,7 +106,7 @@ static struct cdevsw dead_cdevsw = {
|
||||
/* name */ "dead",
|
||||
/* maj */ 255,
|
||||
/* dump */ dead_dump,
|
||||
/* psize */ dead_psize,
|
||||
/* psize */ nopsize,
|
||||
/* flags */ 0,
|
||||
/* kqfilter */ dead_kqfilter
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user