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
..
2011-04-19 16:33:36 -07:00
2011-03-31 11:26:23 -03:00
2011-04-19 16:33:36 -07:00
2011-04-19 16:33:36 -07:00
2011-04-19 16:33:36 -07:00
2011-04-19 16:33:36 -07:00
2011-04-19 16:33:36 -07:00
2011-04-19 16:33:36 -07:00
2011-04-19 16:33:36 -07:00
2011-04-19 16:33:36 -07:00
2011-04-19 16:33:36 -07:00
2011-04-19 16:33:36 -07:00
2011-04-19 16:33:36 -07:00
2011-02-24 11:36:31 -08:00
2011-02-24 11:36:31 -08:00
2011-03-16 17:28:10 -07:00
2011-04-19 16:31:19 -07:00
2011-04-19 16:33:36 -07:00
2011-04-19 16:33:36 -07:00
2011-03-30 04:28:54 -07:00
2011-04-19 16:33:36 -07:00
2011-04-19 16:33:36 -07:00
2011-02-17 11:59:56 -08:00
2011-03-31 11:26:23 -03:00
2011-04-19 16:33:37 -07:00
2011-02-17 11:16:15 -08:00
2011-04-19 16:33:36 -07:00
2011-03-31 11:26:23 -03:00
2011-03-30 21:12:24 -07:00
2011-03-25 16:37:30 -05:00
2011-03-17 19:08:06 -07:00
2011-02-16 17:48:59 +01:00
2011-02-16 17:48:59 +01:00
2011-03-31 11:26:23 -03:00
2011-02-22 15:49:00 -08:00
2011-02-28 13:22:46 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-04-19 16:33:36 -07:00
2011-04-19 16:33:36 -07:00
2011-04-19 16:33:36 -07:00
2011-02-15 18:35:42 +01:00
2011-04-19 16:33:36 -07:00
2011-03-16 17:28:10 -07:00
2011-03-31 11:26:23 -03:00
2011-03-18 10:37:40 -07:00
2011-04-19 16:33:36 -07:00
2011-04-19 16:33:36 -07:00
2011-04-19 16:33:36 -07:00
2011-04-19 16:33:36 -07:00
2011-04-19 16:33:36 -07:00
2011-04-19 16:33:36 -07:00
2011-04-19 16:33:36 -07:00
2011-04-19 16:33:36 -07:00
2011-04-19 16:33:36 -07:00
2011-04-19 16:33:36 -07:00
2011-04-19 16:33:36 -07:00
2011-04-19 16:33:36 -07:00
2011-04-19 16:33:36 -07:00
2011-04-25 14:19:11 -07:00
2011-02-28 12:06:20 -08:00
2011-04-19 16:33:36 -07:00
2011-04-19 16:33:36 -07:00
2011-04-19 16:33:36 -07:00
2011-03-31 11:26:23 -03:00
2011-02-28 13:22:46 -07:00
2011-02-28 13:22:46 -07:00
2011-02-28 13:22:46 -07:00
2011-03-31 11:26:23 -03:00
2011-02-28 13:22:43 -07:00
2011-03-18 06:31:43 -07:00
2011-04-19 16:33:36 -07:00