summaryrefslogtreecommitdiffstats
path: root/drivers/video/console/mdacon.c
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2016-03-31 10:08:15 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-04-30 18:26:55 +0200
commit34902b7f2754e6d890feb0cee34187f1bc75c930 (patch)
tree57f20ae6830560db472bc40df37baf404b377b7f /drivers/video/console/mdacon.c
parenttty: vt, remove reduntant check (diff)
downloadlinux-34902b7f2754e6d890feb0cee34187f1bc75c930.tar.xz
linux-34902b7f2754e6d890feb0cee34187f1bc75c930.zip
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/console/mdacon.c')
0 files changed, 0 insertions, 0 deletions