From cde9070d9970eef1f7ec2360586c802a16230ad8 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Fri, 10 May 2024 07:43:50 +0000 Subject: [PATCH] rtl88x2CE_WiFi_linux driver --- kernel/drivers/tty/serial/8250/8250_ingenic.c | 7 ------- 1 files changed, 0 insertions(+), 7 deletions(-) diff --git a/kernel/drivers/tty/serial/8250/8250_ingenic.c b/kernel/drivers/tty/serial/8250/8250_ingenic.c index bcd26d6..988bf6b 100644 --- a/kernel/drivers/tty/serial/8250/8250_ingenic.c +++ b/kernel/drivers/tty/serial/8250/8250_ingenic.c @@ -146,8 +146,6 @@ static void ingenic_uart_serial_out(struct uart_port *p, int offset, int value) { - unsigned int flags; - bool is_console; int ier; switch (offset) { @@ -169,12 +167,7 @@ * If we have enabled modem status IRQs we should enable * modem mode. */ - is_console = uart_console(p); - if (is_console) - console_atomic_lock(&flags); ier = p->serial_in(p, UART_IER); - if (is_console) - console_atomic_unlock(flags); if (ier & UART_IER_MSI) value |= UART_MCR_MDCE | UART_MCR_FCM; -- Gitblit v1.6.2