From e9e05122106077f828fbbd0964036c22503d1633 Mon Sep 17 00:00:00 2001 From: phk Date: Sat, 25 Sep 1999 18:24:47 +0000 Subject: 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 --- sys/dev/si/si.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'sys/dev/si') diff --git a/sys/dev/si/si.c b/sys/dev/si/si.c index a1cde6e..79097ca 100644 --- a/sys/dev/si/si.c +++ b/sys/dev/si/si.c @@ -180,19 +180,14 @@ static struct cdevsw si_cdevsw = { /* read */ siread, /* write */ siwrite, /* ioctl */ siioctl, - /* stop */ nostop, - /* reset */ noreset, - /* devtotty */ nodevtotty, /* poll */ ttypoll, /* mmap */ nommap, /* strategy */ nostrategy, /* name */ "si", - /* parms */ noparms, /* maj */ CDEV_MAJOR, /* dump */ nodump, /* psize */ nopsize, /* flags */ D_TTY, - /* maxio */ 0, /* bmaj */ -1 }; -- cgit v1.1