mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 11:06:39 +07:00
410235fd4d
Checking if tty->index is in bounds is not needed. The tty has the index set in the initial open. This is done in get_tty_driver. And it can be only in interval <0,driver->num). So remove the tests which check exactly this interval. Some are left untouched as they check against the current backing device count. (Leaving apart that the check is racy in most of the cases.) Signed-off-by: Jiri Slaby <jslaby@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
---|---|---|
.. | ||
ircomm_core.c | ||
ircomm_event.c | ||
ircomm_lmp.c | ||
ircomm_param.c | ||
ircomm_ttp.c | ||
ircomm_tty_attach.c | ||
ircomm_tty_ioctl.c | ||
ircomm_tty.c | ||
Kconfig | ||
Makefile |