linux/drivers/tty
Jiri Slaby 32ad3a77b2 TTY: serial_core, remove invalid test
tty->index (named here as line) is set up in initialize_tty_struct.
The value is checked in get_tty_driver for the found driver as:
	if (device < base || device >= base + p->num)
		continue;
	*index = device - base;

So index/line can never be more than driver->num. Hence remove this
test from uart_open.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-04-25 14:19:11 -07:00
..
hvc Fix common misspellings 2011-03-31 11:26:23 -03:00
ipwireless tty: remove invalid location line in file header 2011-04-19 16:33:36 -07:00
serial TTY: serial_core, remove invalid test 2011-04-25 14:19:11 -07:00
vt tty: make receive_buf() return the amout of bytes received 2011-04-22 17:31:53 -07:00
amiserial.c tty: remove invalid location line in file header 2011-04-19 16:33:36 -07:00
bfin_jtag_comm.c drivers/tty/bfin_jtag_comm.c: avoid calling put_tty_driver on NULL 2011-03-23 19:46:39 -07:00
cyclades.c tty: remove invalid location line in file header 2011-04-19 16:33:36 -07:00
isicom.c
Kconfig
Makefile tty: move ipwireless driver from drivers/char/pcmcia/ to drivers/tty/ 2011-02-22 16:23:22 -08:00
moxa.c Char: moxa, fix locking in moxa_write 2011-04-25 14:19:11 -07:00
moxa.h
mxser.c
mxser.h Fix common misspellings 2011-03-31 11:26:23 -03:00
n_gsm.c tty: make receive_buf() return the amout of bytes received 2011-04-22 17:31:53 -07:00
n_hdlc.c tty: make receive_buf() return the amout of bytes received 2011-04-22 17:31:53 -07:00
n_r3964.c tty: make receive_buf() return the amout of bytes received 2011-04-22 17:31:53 -07:00
n_tty.c tty: make receive_buf() return the amout of bytes received 2011-04-22 17:31:53 -07:00
nozomi.c Char: nozomi, remove useless tty_sem 2011-04-25 14:19:11 -07:00
pty.c tty: remove invalid location line in file header 2011-04-19 16:33:36 -07:00
rocket_int.h
rocket.c TTY: rocket, remove unused variables 2011-04-19 14:41:48 -07:00
rocket.h
synclink_gt.c Fix common misspellings 2011-03-31 11:26:23 -03:00
synclink.c tty: remove invalid location line in file header 2011-04-19 16:33:36 -07:00
synclinkmp.c Fix common misspellings 2011-03-31 11:26:23 -03:00
sysrq.c lib, arch: add filter argument to show_mem and fix private implementations 2011-03-24 17:49:37 -07:00
tty_audit.c tty_audit: fix tty_audit_add_data live lock on audit disabled 2011-03-07 12:04:50 -08:00
tty_buffer.c tty: make receive_buf() return the amout of bytes received 2011-04-22 17:31:53 -07:00
tty_io.c tty: remove invalid location line in file header 2011-04-19 16:33:36 -07:00
tty_ioctl.c tty: remove invalid location line in file header 2011-04-19 16:33:36 -07:00
tty_ldisc.c TTY: introduce deinit helpers for proper ldisc shutdown 2011-04-19 14:43:01 -07:00
tty_mutex.c tty: remove invalid location line in file header 2011-04-19 16:33:36 -07:00
tty_port.c