Tag: 3236133efedb39e9e6bac2bf242c181b58dc0928

tty: synclink_gt.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/synclink_gt.c | 15 ++++++++++—– 1 file changed, 10 insertions(+), 5 deletions(-)   diff –git a/drivers/tty/synclink_gt.c b/drivers/tty/synclink_gt.c index 0e8c39b..0ea8eee 100644 …

Continue reading