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/si | |
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/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 1b76ad07abcc..bb1c102675e6 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; |