linux/drivers/isdn/capi
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
..
capi.c TTY: remove unneeded tty->index checks 2012-03-08 11:42:21 -08:00
capidrv.c isdn/capi: unregister capictr notifier after init failure 2010-12-24 15:59:05 +01:00
capidrv.h
capilib.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
capiutil.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
kcapi_proc.c drivers/isdn: Add export.h for EXPORT_SYMBOL/THIS_MODULE as required. 2011-10-31 19:31:49 -04:00
kcapi.c isdn/capi: make kcapi use a separate workqueue 2010-12-24 15:59:06 +01:00
kcapi.h CAPI: Rework locking of controller data structures 2010-02-16 16:01:22 -08:00
Kconfig capi: Perform scheduled capifs removal 2011-04-06 14:43:33 -07:00
Makefile capi: Perform scheduled capifs removal 2011-04-06 14:43:33 -07:00