diff options
-rw-r--r-- | drivers/tty/serial/8250/8250_platform.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/tty/serial/8250/8250_platform.c b/drivers/tty/serial/8250/8250_platform.c index 3fa52f014c4d..8e1cedf36db2 100644 --- a/drivers/tty/serial/8250/8250_platform.c +++ b/drivers/tty/serial/8250/8250_platform.c @@ -142,12 +142,6 @@ static int serial8250_platform_probe(struct platform_device *pdev) if (ret) return ret; - if (uart.port.mapbase) { - uart.port.membase = devm_ioremap(dev, uart.port.mapbase, uart.port.mapsize); - if (!uart.port.membase) - return -ENOMEM; - } - /* * The previous call may not set iotype correctly when reg-io-width * property is absent and it doesn't support IO port resource. |