From: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Date: Wed, 4 May 2022 07:28:51 +0000 (+0300)
Subject: serial: men_z135_uart: Drop duplicated iotype assignment
X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=67f12fbe87b59d4021e41bb397f0309d538c6dac;p=linux.git

serial: men_z135_uart: Drop duplicated iotype assignment

The driver assigns same iotype twice. Drop one of them.

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/14b71e1-2396-3d83-3a97-9582765d453@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---

diff --git a/drivers/tty/serial/men_z135_uart.c b/drivers/tty/serial/men_z135_uart.c
index 9acae5f8fc32f..12117b596e736 100644
--- a/drivers/tty/serial/men_z135_uart.c
+++ b/drivers/tty/serial/men_z135_uart.c
@@ -833,7 +833,6 @@ static int men_z135_probe(struct mcb_device *mdev,
 	uart->port.iotype = UPIO_MEM;
 	uart->port.ops = &men_z135_ops;
 	uart->port.irq = mcb_get_irq(mdev);
-	uart->port.iotype = UPIO_MEM;
 	uart->port.flags = UPF_BOOT_AUTOCONF | UPF_IOREMAP;
 	uart->port.line = line++;
 	uart->port.dev = dev;