Tag: 873b4f189289660f7f35c1e65f52e7f437bf20c8

tty: hvcs.c: move assignment out of if () block

Author: Greg Kroah-Hartman <gregkh@linuxfoundation.org> 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 CC: Masanari Iida Signed-off-by: Greg Kroah-Hartman — drivers/tty/hvc/hvcs.c | 4 ++– 1 file changed, 2 insertions(+), 2 deletions(-)   diff –git a/drivers/tty/hvc/hvcs.c b/drivers/tty/hvc/hvcs.c …

Continue reading