]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
tty: tty_ldsem.c: move assignment out of if () block
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Apr 2015 09:22:18 +0000 (11:22 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 10 May 2015 17:04:18 +0000 (19:04 +0200)
commitf9ce5ccfd97a61ed318eb52cbb358f1aa826d82f
tree191e32fc1674697cf6f4125819c07b715189a622
parente16cb0a72fc291847adf10ec26b7879c69f12327
tty: tty_ldsem.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/tty_ldsem.c