diff options
| author | Bruce Evans <bde@FreeBSD.org> | 1995-07-22 01:30:45 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 1995-07-22 01:30:45 +0000 |
| commit | a16721a13ae540a2c63dd30d74316ab3ae3aa61b (patch) | |
| tree | c4afe09d343e52acfa2524ee2edbd4e49000cf11 /sys/dev/rc | |
| parent | 2ce42987d3ee48eeab510a217bfbdd94847bd649 (diff) | |
Notes
Diffstat (limited to 'sys/dev/rc')
| -rw-r--r-- | sys/dev/rc/rc.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/dev/rc/rc.c b/sys/dev/rc/rc.c index 8eb0f93a3550..1db4a3d055b9 100644 --- a/sys/dev/rc/rc.c +++ b/sys/dev/rc/rc.c @@ -551,13 +551,7 @@ register struct tty *tp; #ifdef RCDEBUG printrcflags(rc, "rcstart"); #endif - if (tp->t_outq.c_cc <= tp->t_lowat) { - if (tp->t_state & TS_ASLEEP) { - tp->t_state &= ~TS_ASLEEP; - wakeup((caddr_t)&tp->t_outq); - } - selwakeup(&tp->t_wsel); - } + ttwwakeup(tp); #ifdef RCDEBUG printf("rcstart: outq = %d obuf = %d\n", tp->t_outq.c_cc, rc->rc_obufend - rc->rc_optr); |
