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/i386/isa/snd/sound.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'sys/i386/isa/snd/sound.c') diff --git a/sys/i386/isa/snd/sound.c b/sys/i386/isa/snd/sound.c index 4e2062f..bf980fd 100644 --- a/sys/i386/isa/snd/sound.c +++ b/sys/i386/isa/snd/sound.c @@ -48,6 +48,8 @@ * device parameters, then call the board-specific routines if * available, or try to perform the task using the default code. * + * $FreeBSD$ + * */ #include @@ -75,19 +77,14 @@ static struct cdevsw snd_cdevsw = { /* read */ sndread, /* write */ sndwrite, /* ioctl */ sndioctl, - /* stop */ nostop, - /* reset */ noreset, - /* devtotty */ nodevtotty, /* poll */ sndselect, /* mmap */ sndmmap, /* strategy */ nostrategy, /* name */ "snd", - /* parms */ noparms, /* maj */ CDEV_MAJOR, /* dump */ nodump, /* psize */ nopsize, /* flags */ 0, - /* maxio */ 0, /* bmaj */ -1 }; -- cgit v1.1