tty: drop termiox user definitions
authorJiri Slaby <jslaby@suse.cz>
Tue, 5 Jan 2021 12:02:39 +0000 (13:02 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 7 Jan 2021 15:17:32 +0000 (16:17 +0100)
As was concluded in a follow-up discussion of commit e0efb3168d34 (tty:
Remove dead termiox code) [1], termiox ioctls never worked, so there is
barely anyone using this interface. We can safely remove the user
definitions for this never adopted interface.

[1] https://lore.kernel.org/lkml/c1c9fc04-02eb-2260-195b-44c357f057c0@kernel.org/t/#u

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20210105120239.28031-12-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/uapi/linux/termios.h

index 33961d4e4de0d8642f4a145e379ca8e7925d8b04..e6da9d4433d11b16e363ccd691d0e3b7b8cb944b 100644 (file)
@@ -5,19 +5,4 @@
 #include <linux/types.h>
 #include <asm/termios.h>
 
-#define NFF    5
-
-struct termiox
-{
-       __u16   x_hflag;
-       __u16   x_cflag;
-       __u16   x_rflag[NFF];
-       __u16   x_sflag;
-};
-
-#define        RTSXOFF         0x0001          /* RTS flow control on input */
-#define        CTSXON          0x0002          /* CTS flow control on output */
-#define        DTRXOFF         0x0004          /* DTR flow control on input */
-#define DSRXON         0x0008          /* DCD flow control on output */
-
 #endif