summaryrefslogtreecommitdiffstats
path: root/sys/contrib/dev/fla/fla.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1999-09-25 18:24:47 +0000
committerphk <phk@FreeBSD.org>1999-09-25 18:24:47 +0000
commite9e05122106077f828fbbd0964036c22503d1633 (patch)
treea2c7d461d93e3013c84a30e06340b510ec96aaa9 /sys/contrib/dev/fla/fla.c
parenta0c34c5a2300c81f85c92ac6327b1d2ad3a56a77 (diff)
downloadFreeBSD-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/contrib/dev/fla/fla.c')
-rw-r--r--sys/contrib/dev/fla/fla.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/contrib/dev/fla/fla.c b/sys/contrib/dev/fla/fla.c
index b8998d6..b33100c 100644
--- a/sys/contrib/dev/fla/fla.c
+++ b/sys/contrib/dev/fla/fla.c
@@ -63,19 +63,14 @@ static struct cdevsw fla_cdevsw = {
/* read */ physread,
/* write */ physwrite,
/* ioctl */ flaioctl,
- /* stop */ nostop,
- /* reset */ noreset,
- /* devtotty */ nodevtotty,
/* poll */ nopoll,
/* mmap */ nommap,
/* strategy */ flastrategy,
/* name */ "fla",
- /* parms */ noparms,
/* maj */ CDEV_MAJOR,
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_DISK | D_CANFREE,
- /* maxio */ 0,
/* bmaj */ BDEV_MAJOR
};
static struct cdevsw fladisk_cdevsw;
OpenPOWER on IntegriCloud