aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/sx/sx.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/sx/sx.c')
-rw-r--r--sys/dev/sx/sx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sx/sx.c b/sys/dev/sx/sx.c
index 8a523fa378b7..e7f5d82904c4 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;