Greg Kroah-Hartman b8dccc1b2e tty: hvc_console.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>
CC: Tomoki Sekiyama <tomoki.sekiyama@hds.com>
CC: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-05-10 19:04:17 +02:00
..
2012-01-26 17:14:50 -08:00
2011-09-22 16:08:57 -07:00
2014-10-11 20:29:01 -04:00
2013-03-18 16:19:45 -07:00
2012-03-09 10:35:17 +11:00