[v2,10/12] termios: Remove Linux _IOT_termios

Message ID 20181228011001.22260-11-adhemerval.zanella@linaro.org
State New
Headers show
Series
  • Linux termios refactor
Related show

Commit Message

Adhemerval Zanella Dec. 28, 2018, 1:09 a.m.
It is used only on hurd.

No semantic change is expected, checked on a build against x86_64-linux-gnu,
alpha-linux-gnu, mips64-linux-gnu, and sparc64-linux-gnu.

	* sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
	* sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
	* sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
---
 sysdeps/unix/sysv/linux/alpha/bits/termios.h | 3 ---
 sysdeps/unix/sysv/linux/bits/termios.h       | 3 ---
 sysdeps/unix/sysv/linux/mips/bits/termios.h  | 3 ---
 3 files changed, 9 deletions(-)

Comments

Siddhesh Poyarekar Dec. 31, 2018, 3:52 p.m. | #1
On 28/12/18 6:39 AM, Adhemerval Zanella wrote:
> It is used only on hurd.
> 
> No semantic change is expected, checked on a build against x86_64-linux-gnu,
> alpha-linux-gnu, mips64-linux-gnu, and sparc64-linux-gnu.
> 
> 	* sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
> 	* sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
> 	* sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.

OK.

Siddhesh

Patch

diff --git a/sysdeps/unix/sysv/linux/alpha/bits/termios.h b/sysdeps/unix/sysv/linux/alpha/bits/termios.h
index 66b84f26c7..1824b3d8e7 100644
--- a/sysdeps/unix/sysv/linux/alpha/bits/termios.h
+++ b/sysdeps/unix/sysv/linux/alpha/bits/termios.h
@@ -67,6 +67,3 @@  typedef unsigned int	tcflag_t;
 #define	TCIOFLUSH	2
 
 #include <bits/termios-tcflow.h>
-
-#define _IOT_termios /* Hurd ioctl type field.  */ \
-  _IOT (_IOTS (cflag_t), 4, _IOTS (cc_t), NCCS, _IOTS (speed_t), 2)
diff --git a/sysdeps/unix/sysv/linux/bits/termios.h b/sysdeps/unix/sysv/linux/bits/termios.h
index b0263dfa71..1d47729945 100644
--- a/sysdeps/unix/sysv/linux/bits/termios.h
+++ b/sysdeps/unix/sysv/linux/bits/termios.h
@@ -72,6 +72,3 @@  typedef unsigned int	tcflag_t;
 #define	TCIOFLUSH	2
 
 #include <bits/termios-tcflow.h>
-
-#define _IOT_termios /* Hurd ioctl type field.  */ \
-  _IOT (_IOTS (cflag_t), 4, _IOTS (cc_t), NCCS, _IOTS (speed_t), 2)
diff --git a/sysdeps/unix/sysv/linux/mips/bits/termios.h b/sysdeps/unix/sysv/linux/mips/bits/termios.h
index ca4f106855..3b015432c0 100644
--- a/sysdeps/unix/sysv/linux/mips/bits/termios.h
+++ b/sysdeps/unix/sysv/linux/mips/bits/termios.h
@@ -72,6 +72,3 @@  typedef unsigned int	tcflag_t;
 #define	TCIOFLUSH	2	/* Discard all pending data.  */
 
 #include <bits/termios-tcflow.h>
-
-#define _IOT_termios /* Hurd ioctl type field.  */ \
-  _IOT (_IOTS (cflag_t), 4, _IOTS (cc_t), NCCS, _IOTS (speed_t), 2)