s390/tty3270: avoid comma separated statements

Use semicolons and braces.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Link: https://lore.kernel.org/r/9988babd9cca4ac841961d9f0bbf5e49caa87659.1598331149.git.joe@perches.com
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
This commit is contained in:
Joe Perches 2020-08-24 21:56:16 -07:00 committed by Heiko Carstens
parent 1c0a9c7997
commit db232eb42c
1 changed files with 4 additions and 2 deletions

View File

@ -424,8 +424,10 @@ tty3270_update(struct timer_list *t)
* last output position matches the start address * last output position matches the start address
* of this line. * of this line.
*/ */
if (s->string[1] == sba[0] && s->string[2] == sba[1]) if (s->string[1] == sba[0] && s->string[2] == sba[1]) {
str += 3, len -= 3; str += 3;
len -= 3;
}
if (raw3270_request_add_data(wrq, str, len) != 0) if (raw3270_request_add_data(wrq, str, len) != 0)
break; break;
list_del_init(&s->update); list_del_init(&s->update);