aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/sx
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2004-06-26 09:20:07 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2004-06-26 09:20:07 +0000
commitcb9ea5f4cbd32931cd4444df5024abfd9d66194b (patch)
treec93b5edd593fd013f81731c196b7d1369e3d5f78 /sys/dev/sx
parent57ceda5d843396c1ad98cf7e979fa2a3f2825620 (diff)
Notes
Diffstat (limited to 'sys/dev/sx')
-rw-r--r--sys/dev/sx/sx.c4
-rw-r--r--sys/dev/sx/sx.h1
2 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/sx/sx.c b/sys/dev/sx/sx.c
index 8a523fa378b70..e7f5d82904c49 100644
--- a/sys/dev/sx/sx.c
+++ b/sys/dev/sx/sx.c
@@ -477,7 +477,7 @@ open_top:
}
error = ttyld_open(tp, dev);
- pp->sp_hotchar = ttyldoptim(tp);
+ ttyldoptim(tp);
if (tp->t_state & TS_ISOPEN && DEV_IS_CALLOUT(mynor))
pp->sp_active_out = TRUE;
@@ -812,7 +812,7 @@ sxioctl(
}
error = ttyioctl(dev, cmd, data, flag, p);
- pp->sp_hotchar = ttyldoptim(tp);
+ ttyldoptim(tp);
if (error != ENOTTY)
goto out;
diff --git a/sys/dev/sx/sx.h b/sys/dev/sx/sx.h
index 5d142a7c4346a..3d4c9710461bb 100644
--- a/sys/dev/sx/sx.h
+++ b/sys/dev/sx/sx.h
@@ -42,7 +42,6 @@ struct sx_port {
int sp_dtr_wait; /* DTR holddown in hz */
int sp_delta_overflows;
u_int sp_wopeners; /* Processes waiting for DCD. */
- u_char sp_hotchar; /* ldisc specific ASAP char */
struct termios sp_iin; /* Initial state. */
struct termios sp_iout;
struct termios sp_lin; /* Lock state. */