diff options
author | phk <phk@FreeBSD.org> | 2004-06-01 11:57:15 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-06-01 11:57:15 +0000 |
commit | e0c89dae136c255495a8b2e404c5ef2e6e133ad5 (patch) | |
tree | 75dcf5ac97a47b9e9ea96c6adb7945b7752dcea1 /sys/dev/si | |
parent | 19bbdd84d6c9de6fae8bfcc9628ca41c14737f73 (diff) | |
download | FreeBSD-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/si')
-rw-r--r-- | sys/dev/si/si.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/si/si.c b/sys/dev/si/si.c index 1b76ad0..bb1c102 100644 --- a/sys/dev/si/si.c +++ b/sys/dev/si/si.c @@ -806,8 +806,6 @@ siclose(dev_t dev, int flag, int mode, struct thread *td) pp->sp_state &= ~SS_LSTART; } - si_stop(tp, FREAD | FWRITE); - sihardclose(pp); ttyclose(tp); pp->sp_state &= ~SS_OPEN; |