]> git.baikalelectronics.ru Git - kernel.git/commitdiff
serial: men_z135_uart: Drop duplicated iotype assignment
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Wed, 4 May 2022 07:28:51 +0000 (10:28 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 May 2022 20:34:55 +0000 (22:34 +0200)
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>
drivers/tty/serial/men_z135_uart.c

index 9acae5f8fc32fa4113d9370800e24962e7032ab9..12117b596e736e04ab869788cf33019ad2dfa4c7 100644 (file)
@@ -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;