From 1543e317f1da31b75942316931e8f491a8920811 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Thu, 04 Jan 2024 10:08:02 +0000
Subject: [PATCH] disable FB
---
kernel/drivers/s390/char/con3215.c | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/kernel/drivers/s390/char/con3215.c b/kernel/drivers/s390/char/con3215.c
index 8c9d412..d8acabb 100644
--- a/kernel/drivers/s390/char/con3215.c
+++ b/kernel/drivers/s390/char/con3215.c
@@ -398,6 +398,7 @@
}
if (dstat == 0x08)
break;
+ fallthrough;
case 0x04:
/* Device end interrupt. */
if ((raw = req->info) == NULL)
@@ -977,7 +978,6 @@
static int tty3215_open(struct tty_struct *tty, struct file * filp)
{
struct raw3215_info *raw = tty->driver_data;
- int retval;
tty_port_tty_set(&raw->port, tty);
@@ -985,11 +985,7 @@
/*
* Start up 3215 device
*/
- retval = raw3215_startup(raw);
- if (retval)
- return retval;
-
- return 0;
+ return raw3215_startup(raw);
}
/*
--
Gitblit v1.6.2