diff options
author | Jiri Slaby <jslaby@suse.cz> | 2016-03-31 11:08:15 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-04-30 19:26:55 +0300 |
commit | 34902b7f2754e6d890feb0cee34187f1bc75c930 (patch) | |
tree | 57f20ae6830560db472bc40df37baf404b377b7f /drivers/video | |
parent | 182846a00f489849c55d113954f0c4a8a286ca39 (diff) | |
download | linux-34902b7f2754e6d890feb0cee34187f1bc75c930.tar.xz |
tty: vt, get rid of weird source code flow
Some code in vc_allocate is indented by 4 spaces. It is inside a
condition. Invert the condition and move the code to the first
indentation level (using \tab). And insert some empty lines to have
logical code blocks separated.
Then, instead of freeing in an 'if' false branch, use goto-error
label as fail path.
Maybe better to look at this patch with diff -w -b.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/video')
0 files changed, 0 insertions, 0 deletions