From e45f8a51b4929dc39125c415327d5b26f49c4156 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Tue, 25 Jul 2017 21:30:54 +0200 Subject: ax25ipd: USE_TERMIOS is never defined. Signed-off-by: Ralf Baechle --- ax25ipd/io.c | 12 ------------ 1 file changed, 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 -#ifndef USE_TERMIOS #ifndef USE_TERMIO #define USE_SGTTY #endif -#endif -#ifdef USE_TERMIOS -#include -static struct termios nterm; -#endif #ifdef USE_TERMIO #include @@ -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 */ -- cgit v1.2.3