diff options
-rw-r--r-- | sys/dev/snp/snp.c | 10 | ||||
-rw-r--r-- | sys/kern/tty_snoop.c | 10 |
2 files changed, 0 insertions, 20 deletions
diff --git a/sys/dev/snp/snp.c b/sys/dev/snp/snp.c index 3882b67..ca2a753 100644 --- a/sys/dev/snp/snp.c +++ b/sys/dev/snp/snp.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 }; 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 }; |