Skip to content

Commit

Permalink
tty: drop termiox user definitions
Browse files Browse the repository at this point in the history
commit c762a2b upstream.

As was concluded in a follow-up discussion of commit e0efb31 (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>
  • Loading branch information
Jiri Slaby authored and gregkh committed Sep 12, 2021
1 parent 0757a88 commit d24347e
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions include/uapi/linux/termios.h
Expand Up @@ -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

0 comments on commit d24347e

Please sign in to comment.