Tag: 01e51df54697c0ad6dbc5c7bc81b3af3f5329dc0

tty: icom.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 Signed-off-by: Greg Kroah-Hartman — drivers/tty/serial/icom.c | 11 ++++++—– 1 file changed, 6 insertions(+), 5 deletions(-)   diff –git a/drivers/tty/serial/icom.c b/drivers/tty/serial/icom.c index 45fc323..ffc7cb2 100644 …

Continue reading