aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2011-04-20 10:43:16 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2011-04-25 14:19:11 -0700
commit32ad3a77b256948a326c3f68db6acaad2b6953e7 (patch)
tree18db761371c8875bcb1bd68d5e56ff4389aa96f4 /fs/jbd2/commit.c
parentChar: moxa, fix locking in moxa_write (diff)
downloadlinux-rng-32ad3a77b256948a326c3f68db6acaad2b6953e7.tar.xz
linux-rng-32ad3a77b256948a326c3f68db6acaad2b6953e7.zip
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>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions