From: Russell King Date: Fri, 2 Jan 2004 19:36:52 +0000 (+0000) Subject: [SERIAL] Remove old RSA resource handlign. X-Git-Tag: v2.6.1-rc2~2^2~4 X-Git-Url: http://git.neil.brown.name/?a=commitdiff_plain;h=75416a9887f3bcf74810364f6b4fb46fd80781f4;p=history.git [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(). --- diff --git a/drivers/serial/8250.c b/drivers/serial/8250.c index 8256f8ea5a63..e1cf834f0f6f 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); }