linux/drivers/isdn/i4l
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
..
isdn_audio.c Update broken web addresses in the kernel. 2010-10-18 11:03:14 +02:00
isdn_audio.h
isdn_bsdcomp.c treewide: fix potentially dangerous trailing ';' in #defined values/expressions 2011-07-21 14:10:00 +02:00
isdn_common.c isdn: Convert vmalloc/memset to vzalloc 2011-09-15 13:55:03 +02:00
isdn_common.h
isdn_concap.c drivers/isdn/i4l: Remove unnecessary casts of netdev_priv 2010-11-17 10:36:50 -08:00
isdn_concap.h
isdn_net.c isdn: avoid copying too long drvid 2011-11-29 18:39:37 -05:00
isdn_net.h isdn: fix possible circular locking dependency 2009-10-22 18:27:53 -07:00
isdn_ppp.c Fix common misspellings 2011-03-31 11:26:23 -03:00
isdn_ppp.h
isdn_tty.c TTY: remove unneeded tty->index checks 2012-03-08 11:42:21 -08:00
isdn_tty.h
isdn_ttyfax.c tree-wide: fix assorted typos all over the place 2009-12-04 15:39:55 +01:00
isdn_ttyfax.h
isdn_v110.c isdn: replace __inline with inline 2008-03-05 18:37:39 -08:00
isdn_v110.h
isdn_x25iface.c X25: Use identifiers for isdn device to x25 interface 2010-04-22 16:12:48 -07:00
isdn_x25iface.h
isdnhdlc.c ISDN: Fix isdnhdlc for one byte hdlc packets 2009-07-25 20:16:17 +02:00
Kconfig drivers: isdn: Fix dependency for ISDN_PPP 2012-01-10 14:57:20 -08:00
Makefile ISDN: Make isdnhdlc usable for other ISDN drivers 2009-07-25 20:15:21 +02:00