]> git.baikalelectronics.ru Git - kernel.git/commit
tty: synclink_gt.c: move assignment out of if () block
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Apr 2015 09:22:15 +0000 (11:22 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 10 May 2015 17:04:18 +0000 (19:04 +0200)
commita2a9650914c933b050324f6a827f6ed4d617c04c
treeb74f80246eb5f517285c186707d68a77ed9c91c4
parent09ce51bc8f8aacb47308f572e033ad9680ffb76e
tty: synclink_gt.c: move assignment out of if () block

We should not be doing assignments within an if () block
so fix up the code to not do this.

change was created using Coccinelle.

CC: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/synclink_gt.c