commit | 909bc7741bef0bda57489884cf2e914c3072aca9 | [log] [tgz] |
---|---|---|
author | Herton Ronaldo Krzesinski <herton.krzesinski@canonical.com> | Thu Mar 31 15:35:31 2011 -0300 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Tue Apr 19 14:39:28 2011 -0700 |
tree | 15a6b8efb0d0f3103a55e720eea8537eae33d45d | |
parent | f0e615c3cb72b42191b558c130409335812621d8 [diff] |
vt: remove uneeded retval check before tty->ops->open inside tty_open The current check is uneeded, since !retval will always returns true, as retval returned from tty_add_file is checked earlier and tty_open exits if it's not zero. Acked-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Herton Ronaldo Krzesinski <herton.krzesinski@canonical.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>