From e0c89dae136c255495a8b2e404c5ef2e6e133ad5 Mon Sep 17 00:00:00 2001 From: phk Date: Tue, 1 Jun 2004 11:57:15 +0000 Subject: There is no need to explicitly call the stop function. In all likelyhood ->l_close() did it and ttyclose certainly will. --- sys/dev/rc/rc.c | 1 - 1 file changed, 1 deletion(-) (limited to 'sys/dev/rc') diff --git a/sys/dev/rc/rc.c b/sys/dev/rc/rc.c index 96ea9fa..2a58b71 100644 --- a/sys/dev/rc/rc.c +++ b/sys/dev/rc/rc.c @@ -962,7 +962,6 @@ rcclose(dev_t dev, int flag, int mode, d_thread_t *td) s = spltty(); (*linesw[tp->t_line].l_close)(tp, flag); disc_optim(tp, &tp->t_termios, rc); - rc_stop(tp, FREAD | FWRITE); rc_hardclose(rc); ttyclose(tp); splx(s); -- cgit v1.1