hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/s390/char/con3215.c
....@@ -398,6 +398,7 @@
398398 }
399399 if (dstat == 0x08)
400400 break;
401
+ fallthrough;
401402 case 0x04:
402403 /* Device end interrupt. */
403404 if ((raw = req->info) == NULL)
....@@ -977,7 +978,6 @@
977978 static int tty3215_open(struct tty_struct *tty, struct file * filp)
978979 {
979980 struct raw3215_info *raw = tty->driver_data;
980
- int retval;
981981
982982 tty_port_tty_set(&raw->port, tty);
983983
....@@ -985,11 +985,7 @@
985985 /*
986986 * Start up 3215 device
987987 */
988
- retval = raw3215_startup(raw);
989
- if (retval)
990
- return retval;
991
-
992
- return 0;
988
+ return raw3215_startup(raw);
993989 }
994990
995991 /*