linux/net/irda/ircomm
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
..
ircomm_core.c irda: Kill set but unused variable 'clen' in ircomm_connect_indication() 2011-05-19 18:52:59 -04:00
ircomm_event.c net: mark read-only arrays as const 2009-08-05 10:42:58 -07:00
ircomm_lmp.c irda: Fix error propagation in ircomm_lmp_connect_response() 2011-05-19 18:58:39 -04:00
ircomm_param.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-04-11 14:53:53 -07:00
ircomm_ttp.c
ircomm_tty_attach.c net: Remove casts of void * 2011-06-16 23:19:27 -04:00
ircomm_tty_ioctl.c tty: now phase out the ioctl file pointer for good 2011-02-17 11:59:56 -08:00
ircomm_tty.c TTY: remove unneeded tty->index checks 2012-03-08 11:42:21 -08:00
Kconfig
Makefile Net: irda: ircomm: Makefile: Remove deprecated kbuild goal defintions 2010-11-22 08:16:12 -08:00