Revert "ANDROID: GKI: restore termiox fields"

This reverts commit db77ed2052.

It is no longer needed in the android13-5.10 branch, and thanks to other
changes in this area upstream, it actually causes build issues.

Cc: Aaron Ding <aaronding@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I0f6b8ccd7c881be83fb499f4c66b3cb62afb64da
This commit is contained in:
Greg Kroah-Hartman
2021-09-13 17:23:13 +02:00
committed by Todd Kjos
parent 36a2610fbe
commit e796f78ca4
2 changed files with 0 additions and 8 deletions

View File

@@ -308,10 +308,6 @@ struct tty_struct {
spinlock_t flow_lock;
/* Termios values are protected by the termios rwsem */
struct ktermios termios, termios_locked;
/* termiox is estored only for ABI preservation, do not use */
struct termiox *termiox;
char name[64];
struct pid *pgrp; /* Protected by ctrl lock */
/*

View File

@@ -278,10 +278,6 @@ struct tty_operations {
int (*tiocmset)(struct tty_struct *tty,
unsigned int set, unsigned int clear);
int (*resize)(struct tty_struct *tty, struct winsize *ws);
/* only for abi preservation */
int (*set_termiox)(struct tty_struct *tty, struct termiox *tnew);
int (*get_icount)(struct tty_struct *tty,
struct serial_icounter_struct *icount);
int (*get_serial)(struct tty_struct *tty, struct serial_struct *p);