diff options
author | phk <phk@FreeBSD.org> | 1999-09-25 18:24:47 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1999-09-25 18:24:47 +0000 |
commit | e9e05122106077f828fbbd0964036c22503d1633 (patch) | |
tree | a2c7d461d93e3013c84a30e06340b510ec96aaa9 /sys/kern/subr_xxx.c | |
parent | a0c34c5a2300c81f85c92ac6327b1d2ad3a56a77 (diff) | |
download | FreeBSD-src-e9e05122106077f828fbbd0964036c22503d1633.zip FreeBSD-src-e9e05122106077f828fbbd0964036c22503d1633.tar.gz |
Remove five now unused fields from struct cdevsw. They should never
have been there in the first place. A GENERIC kernel shrinks almost 1k.
Add a slightly different safetybelt under nostop for tty drivers.
Add some missing FreeBSD tags
Diffstat (limited to 'sys/kern/subr_xxx.c')
-rw-r--r-- | sys/kern/subr_xxx.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/sys/kern/subr_xxx.c b/sys/kern/subr_xxx.c index e0298f7..6819fb3 100644 --- a/sys/kern/subr_xxx.c +++ b/sys/kern/subr_xxx.c @@ -133,31 +133,6 @@ noioctl(dev, cmd, data, flags, p) return (ENODEV); } -void -nostop(tp, rw) - struct tty *tp; - int rw; -{ - -} - -int -noreset(dev) - dev_t dev; -{ - - printf("noreset(%d,%d) called\n", major(dev), minor(dev)); - return (ENODEV); -} - -struct tty * -nodevtotty(dev) - dev_t dev; -{ - - return (NULL); -} - int nommap(dev, offset, nprot) dev_t dev; |