Remove unneeded compat ifdef.

This commit is contained in:
ad 2008-11-14 23:04:42 +00:00
parent 8e658292aa
commit 7cd41bb376
1 changed files with 2 additions and 7 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: tty_pty.c,v 1.112 2008/09/03 16:47:34 drochner Exp $ */
/* $NetBSD: tty_pty.c,v 1.113 2008/11/14 23:04:42 ad Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1993
@ -37,9 +37,8 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: tty_pty.c,v 1.112 2008/09/03 16:47:34 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: tty_pty.c,v 1.113 2008/11/14 23:04:42 ad Exp $");
#include "opt_compat_sunos.h"
#include "opt_ptm.h"
#include <sys/param.h>
@ -1077,10 +1076,8 @@ ptyioctl(dev, cmd, data, flag, l)
mutex_spin_exit(&tty_lock);
return (0);
#ifdef COMPAT_OLDTTY
case TIOCSETP:
case TIOCSETN:
#endif
case TIOCSETD:
case TIOCSETA:
case TIOCSETAW:
@ -1130,7 +1127,6 @@ ptyioctl(dev, cmd, data, flag, l)
case TIOCSETA:
case TIOCSETAW:
case TIOCSETAF:
#ifdef COMPAT_OLDTTY
case TIOCSETP:
case TIOCSETN:
case TIOCSETC:
@ -1138,7 +1134,6 @@ ptyioctl(dev, cmd, data, flag, l)
case TIOCLBIS:
case TIOCLBIC:
case TIOCLSET:
#endif
pti->pt_send |= TIOCPKT_IOCTL;
ptcwakeup(tp, FREAD);
default: