summaryrefslogtreecommitdiff
path: root/bin/stty
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2016-11-26 11:18:44 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2016-11-26 11:18:44 +0000
commitea9c311c1abd5aa071690583a04a0a44ceb444d9 (patch)
tree24ead16dc764d85d291b0d61f2884035a3098c78 /bin/stty
parent73d10613859bbc1c21b5a26746b6ad18eb184e9d (diff)
Remove leftovers of line disciplines that are no more.
ok mikeb@
Diffstat (limited to 'bin/stty')
-rw-r--r--bin/stty/print.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/bin/stty/print.c b/bin/stty/print.c
index 929e7555e49..cd291016d14 100644
--- a/bin/stty/print.c
+++ b/bin/stty/print.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: print.c,v 1.14 2016/03/23 14:52:42 mmcc Exp $ */
+/* $OpenBSD: print.c,v 1.15 2016/11/26 11:18:43 mpi Exp $ */
/* $NetBSD: print.c,v 1.11 1996/05/07 18:20:10 jtc Exp $ */
/*-
@@ -58,18 +58,9 @@ print(struct termios *tp, struct winsize *wp, int ldisc, enum FMT fmt)
/* Line discipline. */
if (ldisc != TTYDISC) {
switch(ldisc) {
- case TABLDISC:
- cnt += printf("tablet disc; ");
- break;
- case SLIPDISC:
- cnt += printf("slip disc; ");
- break;
case PPPDISC:
cnt += printf("ppp disc; ");
break;
- case STRIPDISC:
- cnt += printf("strip disc; ");
- break;
case NMEADISC:
cnt += printf("nmea disc; ");
break;