Files
kernel_arpi/include/linux
Jann Horn eef2158b0c tty: Remove dead termiox code
[ Upstream commit e0efb3168d ]

set_termiox() and the TCGETX handler bail out with -EINVAL immediately
if ->termiox is NULL, but there are no code paths that can set
->termiox to a non-NULL pointer; and no such code paths seem to have
existed since the termiox mechanism was introduced back in
commit 1d65b4a088 ("tty: Add termiox") in v2.6.28.
Similarly, no driver actually implements .set_termiox; and it looks like
no driver ever has.

Delete this dead code; but leave the definition of struct termiox in the
UAPI headers intact.

Signed-off-by: Jann Horn <jannh@google.com>
Link: https://lore.kernel.org/r/20201203020331.2394754-1-jannh@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-05-14 09:50:18 +02:00
..
2021-04-14 08:42:11 +02:00
2020-10-28 13:18:56 +01:00
2021-04-28 13:40:00 +02:00
2020-10-16 17:21:51 +02:00
2020-12-11 14:02:14 -08:00
2020-12-26 16:02:43 +01:00
2020-11-19 22:38:29 -05:00
2020-10-13 18:38:32 -07:00
2021-03-04 11:37:59 +01:00
2021-02-07 15:37:17 +01:00
2021-03-30 14:31:52 +02:00
2020-10-07 14:28:39 -04:00
2021-03-30 14:32:05 +02:00
2020-10-18 09:27:10 -07:00
2020-11-06 10:05:18 -08:00
2021-03-07 12:34:15 +01:00
2021-05-07 11:04:32 +02:00
2021-05-14 09:50:18 +02:00
2021-05-14 09:50:18 +02:00