summaryrefslogtreecommitdiffstats
path: root/sys/dev/rp
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-06-01 11:57:15 +0000
committerphk <phk@FreeBSD.org>2004-06-01 11:57:15 +0000
commite0c89dae136c255495a8b2e404c5ef2e6e133ad5 (patch)
tree75dcf5ac97a47b9e9ea96c6adb7945b7752dcea1 /sys/dev/rp
parent19bbdd84d6c9de6fae8bfcc9628ca41c14737f73 (diff)
downloadFreeBSD-src-e0c89dae136c255495a8b2e404c5ef2e6e133ad5.zip
FreeBSD-src-e0c89dae136c255495a8b2e404c5ef2e6e133ad5.tar.gz
There is no need to explicitly call the stop function. In all likelyhood
->l_close() did it and ttyclose certainly will.
Diffstat (limited to 'sys/dev/rp')
-rw-r--r--sys/dev/rp/rp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/rp/rp.c b/sys/dev/rp/rp.c
index 3f9f49f..926c14d 100644
--- a/sys/dev/rp/rp.c
+++ b/sys/dev/rp/rp.c
@@ -1132,7 +1132,6 @@ rpclose(dev, flag, mode, td)
oldspl = spltty();
(*linesw[tp->t_line].l_close)(tp, flag);
rp_disc_optim(tp, &tp->t_termios);
- rpstop(tp, FREAD | FWRITE);
rphardclose(rp);
tp->t_state &= ~TS_BUSY;
OpenPOWER on IntegriCloud