diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-06-01 11:57:15 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-06-01 11:57:15 +0000 |
commit | be9bd88238ecbf423e5a3c1a3d9664ef635bafd2 (patch) | |
tree | 75dcf5ac97a47b9e9ea96c6adb7945b7752dcea1 /sys/dev/nmdm | |
parent | 847dc1fe8878484d2be37ec71e0bf9136b71592a (diff) | |
download | src-be9bd88238ecbf423e5a3c1a3d9664ef635bafd2.tar.gz src-be9bd88238ecbf423e5a3c1a3d9664ef635bafd2.zip |
There is no need to explicitly call the stop function. In all likelyhood
->l_close() did it and ttyclose certainly will.
Notes
Notes:
svn path=/head/; revision=129939
Diffstat (limited to 'sys/dev/nmdm')
-rw-r--r-- | sys/dev/nmdm/nmdm.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/nmdm/nmdm.c b/sys/dev/nmdm/nmdm.c index 888cda419ecd..79a547687ef8 100644 --- a/sys/dev/nmdm/nmdm.c +++ b/sys/dev/nmdm/nmdm.c @@ -313,7 +313,6 @@ nmdmclose(dev_t dev, int flag, int mode, struct thread *td) err = (*linesw[tp->t_line].l_close)(tp, flag); ourpart->modemsignals &= ~TIOCM_DTR; nmdm_crossover(dev->si_drv1, ourpart, otherpart); - nmdmstop(tp, FREAD|FWRITE); (void) ttyclose(tp); return (err); } |