summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2017-07-25 21:30:54 +0200
committerRalf Baechle <ralf@linux-mips.org>2017-07-25 21:30:54 +0200
commite45f8a51b4929dc39125c415327d5b26f49c4156 (patch)
tree4c28083c85582925e3654e3dfdc7345c705b5d1c
parent96284d81920d8257e0c0b254d1573f371fbc9744 (diff)
ax25ipd: USE_TERMIOS is never defined.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r--ax25ipd/io.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/ax25ipd/io.c b/ax25ipd/io.c
index 1d76873..5b4e236 100644
--- a/ax25ipd/io.c
+++ b/ax25ipd/io.c
@@ -32,16 +32,10 @@
#include <syslog.h>
-#ifndef USE_TERMIOS
#ifndef USE_TERMIO
#define USE_SGTTY
#endif
-#endif
-#ifdef USE_TERMIOS
-#include <sys/termios.h>
-static struct termios nterm;
-#endif
#ifdef USE_TERMIO
#include <termio.h>
@@ -381,9 +375,6 @@ void io_open(void)
set_bpq_dev_call_and_up(ttydevice);
goto behind_normal_tty;
}
-#ifdef USE_TERMIOS
- if (ioctl(ttyfd, TCGETS, &nterm) < 0) {
-#endif
#ifdef USE_TERMIO
if (ioctl(ttyfd, TCGETA, &nterm) < 0) {
#endif
@@ -532,9 +523,6 @@ void io_open(void)
nterm.c_cc[VTIME] = 0;
#endif /* USE_SGTTY */
-#ifdef USE_TERMIOS
- if (ioctl(ttyfd, TCSETS, &nterm) < 0) {
-#endif /* USE_TERMIOS */
#ifdef USE_TERMIO
if (ioctl(ttyfd, TCSETA, &nterm) < 0) {
#endif /* USE_TERMIO */