diff --git a/sys/kern/tty.c b/sys/kern/tty.c index 15a48a428526..df781e8d033b 100644 --- a/sys/kern/tty.c +++ b/sys/kern/tty.c @@ -709,7 +709,6 @@ ttyil_ioctl(struct cdev *dev, u_long cmd, caddr_t data, int fflag, if (error) break; bcopy(data, dev->si_drv2, sizeof(struct termios)); - return (0); break; case TIOCGETD: *(int *)data = TTYDISC;