linux_dsm_epyc7002/drivers/s390
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
..
block [S390] dasd: revalidate server for new pathgroup 2012-01-18 18:03:42 +01:00
char TTY: remove unneeded tty->index checks 2012-03-08 11:42:21 -08:00
cio module_param: avoid bool abuse, add bint for special cases. 2012-01-13 09:32:17 +10:30
crypto [S390] zcrypt: Fix error return codes. 2011-12-27 11:27:13 +01:00
kvm virtio: harsher barriers for rpmsg. 2012-01-12 15:44:42 +10:30
net Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux 2012-01-09 08:11:13 -08:00
scsi [SCSI] zfcp: return early from slave_destroy if slave_alloc returned early 2011-12-14 15:40:43 +04:00
Makefile [S390] split/move machine check handler code 2009-03-26 15:24:10 +01:00