From 887f7ef50a49ab87ab2133e7009a5b9183ff2f33 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Wed, 23 Jun 2004 08:25:23 +0000 Subject: [PATCH] Since we grew struct xtty, t_dev doesn't have to be schizofrenic anymore. --- sys/sys/tty.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/sys/sys/tty.h b/sys/sys/tty.h index a51a6e4b869..40839198824 100644 --- a/sys/sys/tty.h +++ b/sys/sys/tty.h @@ -80,11 +80,7 @@ struct tty { struct clist t_outq; /* Device output queue. */ long t_outcc; /* Output queue statistics. */ int t_line; /* Interface to device drivers. */ - union { - struct cdev *t_kdev; /* Device. */ - dev_t t_udev; /* Userland (sysctl) instance. */ - void *t_devp; /* Keep user/kernel size in sync. */ - } ttyu; + struct cdev *t_dev; /* Device. */ int t_state; /* Device and driver (TS*) state. */ int t_flags; /* Tty flags. */ int t_timeout; /* Timeout for ttywait() */ @@ -120,7 +116,6 @@ struct tty { #define t_cc t_termios.c_cc #define t_cflag t_termios.c_cflag -#define t_dev ttyu.t_kdev #define t_iflag t_termios.c_iflag #define t_ispeed t_termios.c_ispeed #define t_lflag t_termios.c_lflag