Commit db232eb4 authored by Joe Perches's avatar Joe Perches Committed by Heiko Carstens

s390/tty3270: avoid comma separated statements

Use semicolons and braces.
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarHeiko Carstens <hca@linux.ibm.com>
Link: https://lore.kernel.org/r/9988babd9cca4ac841961d9f0bbf5e49caa87659.1598331149.git.joe@perches.comSigned-off-by: default avatarHeiko Carstens <hca@linux.ibm.com>
parent 1c0a9c79
......@@ -424,8 +424,10 @@ tty3270_update(struct timer_list *t)
* last output position matches the start address
* of this line.
*/
if (s->string[1] == sba[0] && s->string[2] == sba[1])
str += 3, len -= 3;
if (s->string[1] == sba[0] && s->string[2] == sba[1]) {
str += 3;
len -= 3;
}
if (raw3270_request_add_data(wrq, str, len) != 0)
break;
list_del_init(&s->update);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment