Tag: f2908f70c6ecb2993efb1594924f6e9962c00547

tty: mpsc.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/mpsc.c | 25 ++++++++++++++++——— 1 file changed, 16 insertions(+), 9 deletions(-)   diff –git a/drivers/tty/serial/mpsc.c b/drivers/tty/serial/mpsc.c index 856fd5a..82bb6d1 100644 …

Continue reading