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/tty_pty.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/tty_pty.c')
-rw-r--r-- | sys/kern/tty_pty.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/sys/kern/tty_pty.c b/sys/kern/tty_pty.c index 9531f7b..238fdad 100644 --- a/sys/kern/tty_pty.c +++ b/sys/kern/tty_pty.c @@ -80,19 +80,14 @@ static struct cdevsw pts_cdevsw = { /* read */ ptsread, /* write */ ptswrite, /* ioctl */ ptyioctl, - /* stop */ nostop, - /* reset */ noreset, - /* devtotty */ nodevtotty, /* poll */ ttypoll, /* mmap */ nommap, /* strategy */ nostrategy, /* name */ "pts", - /* parms */ noparms, /* maj */ CDEV_MAJOR_S, /* dump */ nodump, /* psize */ nopsize, /* flags */ D_TTY, - /* maxio */ 0, /* bmaj */ -1 }; @@ -103,19 +98,14 @@ static struct cdevsw ptc_cdevsw = { /* read */ ptcread, /* write */ ptcwrite, /* ioctl */ ptyioctl, - /* stop */ nostop, - /* reset */ noreset, - /* devtotty */ nodevtotty, /* poll */ ptcpoll, /* mmap */ nommap, /* strategy */ nostrategy, /* name */ "ptc", - /* parms */ noparms, /* maj */ CDEV_MAJOR_C, /* dump */ nodump, /* psize */ nopsize, /* flags */ D_TTY, - /* maxio */ 0, /* bmaj */ -1 }; |