diff options
author | phk <phk@FreeBSD.org> | 2004-06-25 22:10:20 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-06-25 22:10:20 +0000 |
commit | e18498a4a40d169fdd2668352756ef0bfc8d8d28 (patch) | |
tree | 9ce94476d61c646c65b25eacb58812138c4dabce /sys | |
parent | 11df1584ae15736918cef13e80572554a7f4e557 (diff) | |
download | FreeBSD-src-e18498a4a40d169fdd2668352756ef0bfc8d8d28.zip FreeBSD-src-e18498a4a40d169fdd2668352756ef0bfc8d8d28.tar.gz |
Gah! commit from wrong tree.
Remove now unused variables from last commit.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/tty_pty.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/kern/tty_pty.c b/sys/kern/tty_pty.c index 23533a4..625189c 100644 --- a/sys/kern/tty_pty.c +++ b/sys/kern/tty_pty.c @@ -214,14 +214,9 @@ ptsclose(struct cdev *dev, int flag, int mode, struct thread *td) static int ptsread(struct cdev *dev, struct uio *uio, int flag) { - struct thread *td = curthread; - struct proc *p = td->td_proc; struct tty *tp = dev->si_tty; - struct ptsc *pt = dev->si_drv1; - struct pgrp *pg; int error = 0; -again: if (tp->t_oproc) error = ttyld_read(tp, uio, flag); ptcwakeup(tp, FWRITE); @@ -463,7 +458,6 @@ ptcwrite(struct cdev *dev, struct uio *uio, int flag) int cc = 0; u_char locbuf[BUFSIZ]; int cnt = 0; - struct ptsc *pt = dev->si_drv1; int error = 0; again: |