diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-09-25 18:24:47 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-09-25 18:24:47 +0000 |
commit | d6a0e38a1bffb551c7a3159a072a0ac3b30abccb (patch) | |
tree | 6fd058e379c30c9846c02d23271af0842114b5d1 /sys/dev/rc/rc.c | |
parent | 784733e9ecb7b3cbb1655b9026841f7bcbcba164 (diff) |
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
Notes
Notes:
svn path=/head/; revision=51658
Diffstat (limited to 'sys/dev/rc/rc.c')
-rw-r--r-- | sys/dev/rc/rc.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/dev/rc/rc.c b/sys/dev/rc/rc.c index 238a05214b9a..91b735e321f1 100644 --- a/sys/dev/rc/rc.c +++ b/sys/dev/rc/rc.c @@ -98,19 +98,14 @@ static struct cdevsw rc_cdevsw = { /* read */ rcread, /* write */ rcwrite, /* ioctl */ rcioctl, - /* stop */ nostop, - /* reset */ noreset, - /* devtotty */ nodevtotty, /* poll */ ttypoll, /* mmap */ nommap, /* strategy */ nostrategy, /* name */ "rc", - /* parms */ noparms, /* maj */ CDEV_MAJOR, /* dump */ nodump, /* psize */ nopsize, /* flags */ D_TTY, - /* maxio */ 0, /* bmaj */ -1 }; |