From 1b46d1cfa5f269268b36ecdac3ae40a558392aac Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Tue, 25 Jul 2017 21:34:48 +0200 Subject: ax25ipd: USE_TERMIO is always defined. Signed-off-by: Ralf Baechle --- ax25ipd/io.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'ax25ipd/io.c') diff --git a/ax25ipd/io.c b/ax25ipd/io.c index 5b4e236..1eae3e6 100644 --- a/ax25ipd/io.c +++ b/ax25ipd/io.c @@ -32,15 +32,10 @@ #include -#ifndef USE_TERMIO -#define USE_SGTTY -#endif -#ifdef USE_TERMIO #include static struct termio nterm; -#endif #ifdef USE_SGTTY #include @@ -375,9 +370,7 @@ void io_open(void) set_bpq_dev_call_and_up(ttydevice); goto behind_normal_tty; } -#ifdef USE_TERMIO if (ioctl(ttyfd, TCGETA, &nterm) < 0) { -#endif #ifdef USE_SGTTY if (ioctl(ttyfd, TIOCGETP, &nterm) < 0) { #endif @@ -523,9 +516,7 @@ void io_open(void) nterm.c_cc[VTIME] = 0; #endif /* USE_SGTTY */ -#ifdef USE_TERMIO if (ioctl(ttyfd, TCSETA, &nterm) < 0) { -#endif /* USE_TERMIO */ #ifdef USE_SGTTY if (ioctl (ttyfd, TIOCSETP, &nterm) < 0) { #endif /* USE_SGTTY */ -- cgit v1.2.3