From 75416a9887f3bcf74810364f6b4fb46fd80781f4 Mon Sep 17 00:00:00 2001 From: Russell King Date: Fri, 2 Jan 2004 19:36:52 +0000 Subject: [PATCH] [SERIAL] Remove old RSA resource handlign. The resource handling left in autoconfig() is plainly wrong, since we've already claimed the necessary resources prior to calling autoconfig(). Therefore, we remove the superfluous code from autoconfig(). --- drivers/serial/8250.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/serial/8250.c b/drivers/serial/8250.c index 8256f8ea5a63f..e1cf834f0f6fb 100644 --- a/drivers/serial/8250.c +++ b/drivers/serial/8250.c @@ -726,13 +726,6 @@ static void autoconfig(struct uart_8250_port *up, unsigned int probeflags) out: spin_unlock_irqrestore(&up->port.lock, flags); // restore_flags(flags); -#ifdef CONFIG_SERIAL_8250_RSA - if (up->port.iobase && up->port.type == PORT_RSA) { - release_region(up->port.iobase, 8); - request_region(up->port.iobase + UART_RSA_BASE, 16, - "serial_rsa"); - } -#endif DEBUG_AUTOCONF("type=%s\n", uart_config[up->port.type].name); } -- 2.53.0