summaryrefslogtreecommitdiffstats
path: root/sys/dev/sx/sx.c
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/sx/sx.c
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/sx/sx.c')
-rw-r--r--sys/dev/sx/sx.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/sx/sx.c b/sys/dev/sx/sx.c
index 8cef3ae..0f07f94 100644
--- a/sys/dev/sx/sx.c
+++ b/sys/dev/sx/sx.c
@@ -547,8 +547,6 @@ sxclose(
}
/* ok. we are now still on the right track.. nuke the hardware */
- sx_stop(tp, FREAD | FWRITE);
-
sxhardclose(pp);
ttyclose(tp);
pp->sp_state &= ~SX_SS_OPEN;
OpenPOWER on IntegriCloud