kernel-hacking-2024-linux-s.../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
isdn_audio.h
isdn_bsdcomp.c
isdn_common.c
isdn_common.h
isdn_concap.c
isdn_concap.h
isdn_net.c isdn: avoid copying too long drvid 2011-11-29 18:39:37 -05:00
isdn_net.h
isdn_ppp.c
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
isdn_ttyfax.h
isdn_v110.c
isdn_v110.h
isdn_x25iface.c
isdn_x25iface.h
isdnhdlc.c
Kconfig drivers: isdn: Fix dependency for ISDN_PPP 2012-01-10 14:57:20 -08:00
Makefile