linux_dsm_epyc7002/arch/xtensa/platforms/iss
Jiri Slaby 410235fd4d TTY: remove unneeded tty->index checks
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>
2012-03-08 11:42:21 -08:00
..
include/platform xtensa: move headers files to arch/xtensa/include 2008-11-06 10:25:09 -08:00
console.c TTY: remove unneeded tty->index checks 2012-03-08 11:42:21 -08:00
io.c xtensa: move headers files to arch/xtensa/include 2008-11-06 10:25:09 -08:00
Makefile [XTENSA] Concentrate platforms into one platforms directory. 2008-02-13 16:45:06 -08:00
network.c net: remove use of ndo_set_multicast_list in drivers 2011-08-17 20:22:03 -07:00
setup.c [XTENSA] Concentrate platforms into one platforms directory. 2008-02-13 16:45:06 -08:00