diff options
author | phk <phk@FreeBSD.org> | 2003-03-02 14:43:46 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-03-02 14:43:46 +0000 |
commit | 6b82a4731ba0b7fc1cb9a24eef3505b2e53fc60f (patch) | |
tree | c2458c0fceba2a0bd8e60f8751ea2caf5a06da6b /sys/kern | |
parent | 4805bac1a297b0e13366633ccc5313b7b42a2aed (diff) | |
download | FreeBSD-src-6b82a4731ba0b7fc1cb9a24eef3505b2e53fc60f.zip FreeBSD-src-6b82a4731ba0b7fc1cb9a24eef3505b2e53fc60f.tar.gz |
NO_GEOM cleanup:
Remove cdevsw->d_size() implementation. No longer needed.
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_conf.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/kern/kern_conf.c b/sys/kern/kern_conf.c index 3d96ce4..3a73551 100644 --- a/sys/kern/kern_conf.c +++ b/sys/kern/kern_conf.c @@ -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 }; |