diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2018-09-13 16:39:58 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2018-10-13 00:50:52 -0400 |
commit | 7ee329655189f32f0c17e0bad60c23a69b003e9e (patch) | |
tree | 3185f9e98f2bb0ee8c8d0e42bc05ee109ebd7da5 /drivers/tty/serial/serial_core.c | |
parent | 27230e51349fde075598c1b59d15e1ff802f3f6e (diff) | |
download | linux-stable-7ee329655189f32f0c17e0bad60c23a69b003e9e.tar.gz linux-stable-7ee329655189f32f0c17e0bad60c23a69b003e9e.tar.bz2 linux-stable-7ee329655189f32f0c17e0bad60c23a69b003e9e.zip |
kill TIOCSER[SG]WILD
the only user is very old setserial rc script and even that
(as far back as MCC Interim, AFAICS) doesn't actually fail -
just gives one message during the boot ("Cannot scan for wild
interrupts") and proceeds past that just fine.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/tty/serial/serial_core.c')
-rw-r--r-- | drivers/tty/serial/serial_core.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/tty/serial/serial_core.c b/drivers/tty/serial/serial_core.c index 2c8162b8ebf2..54726c3f74c6 100644 --- a/drivers/tty/serial/serial_core.c +++ b/drivers/tty/serial/serial_core.c @@ -1324,11 +1324,6 @@ uart_ioctl(struct tty_struct *tty, unsigned int cmd, unsigned long arg) ret = uart_do_autoconfig(tty, state); up_write(&tty->termios_rwsem); break; - - case TIOCSERGWILD: /* obsolete */ - case TIOCSERSWILD: /* obsolete */ - ret = 0; - break; } if (ret != -ENOIOCTLCMD) |