tty: amiserial.c: move assignment out of if () block
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Apr 2015 09:22:05 +0000 (11:22 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 10 May 2015 17:04:16 +0000 (19:04 +0200)
commit2eeaf0bbca79412f15d00a08b930cbd9235fc3a2
tree8e4cf5adaee137a054bf3dd4a3bd1c4875c1cc5e
parented334c0e3b4def138a27c84d7331c304f87a4701
tty: amiserial.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/amiserial.c
This page took 0.027099 seconds and 5 git commands to generate.