CVSROOT: /cvs Module name: src Changes by: an...@cvs.openbsd.org 2018/08/30 00:16:30
Modified files: sys/kern : tty_pty.c Log message: Remove dead code related to tty allocation for ptys. Back in revision 1.17 of kern/tty_pty.c, allocation of ptys was made dynamic with the introduction of check_pty(). Every time a new struct pty is allocated its corresponding struct tty is also allocated. It's therefore no longer necessary to ensure that a pty has a tty allocated after calling check_pty(). ok deraadt@ millert@ mpi@ visa@