summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authordd <dd@FreeBSD.org>2001-06-04 23:31:21 +0000
committerdd <dd@FreeBSD.org>2001-06-04 23:31:21 +0000
commitb646de742c6b73e04ed1e88d4b5857a9357e6910 (patch)
treec2ada8c3bf89522814af045fbe2680bf1ed23620 /sys/kern
parentc6d2a1e6f90c071acdecb05059ce1108abdb5cb8 (diff)
downloadFreeBSD-src-b646de742c6b73e04ed1e88d4b5857a9357e6910.zip
FreeBSD-src-b646de742c6b73e04ed1e88d4b5857a9357e6910.tar.gz
Use the l_nullioctl exported from tty_conf.c rather than rolling our own.
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/tty_snoop.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/sys/kern/tty_snoop.c b/sys/kern/tty_snoop.c
index 3882b67..ca2a753 100644
--- a/sys/kern/tty_snoop.c
+++ b/sys/kern/tty_snoop.c
@@ -96,16 +96,6 @@ dsnwrite(struct tty *tp, struct uio *uio, int flag)
return (error);
}
-/*
- * XXX should there be a global version of this?
- */
-static int
-l_nullioctl(struct tty *tp, u_long cmd, char *data, int flags, struct proc *p)
-{
-
- return (ENOIOCTL);
-}
-
static struct linesw snpdisc = {
ttyopen, ttylclose, ttread, dsnwrite,
l_nullioctl, ttyinput, ttstart, ttymodem };
OpenPOWER on IntegriCloud