Tag: 485e148d11829025b9195cc8baf0ab6cc6a19558

tty: synclinkmp.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/synclinkmp.c | 12 ++++++++—- 1 file changed, 8 insertions(+), 4 deletions(-)   diff –git a/drivers/tty/synclinkmp.c b/drivers/tty/synclinkmp.c index c3f9091..08633a8 100644 …

Continue reading