]> git.baikalelectronics.ru Git - kernel.git/commit
tty: 68328serial.c: move assignment out of if () block
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Apr 2015 09:22:04 +0000 (11:22 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 10 May 2015 17:04:16 +0000 (19:04 +0200)
commit9b464477e61023e850ff8533f67964a4b1a2e0a9
treecd630ff69a55e2957a0840d44e6792f3743aeb4b
parentb02d32ef0bf8956065853e4354690ff897f5bb21
tty: 68328serial.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/serial/68328serial.c