Re: [PATCH RESEND] serial: men_z135_uart: Drop duplicated iotype assignment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04. 05. 22, 9:28, Ilpo Järvinen wrote:
The driver assigns same iotype twice. Drop one of them.

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx>

Reviewed-by: Jiri Slaby <jirislaby@xxxxxxxxxx>

---

Resending with correct linux-serial address.

  drivers/tty/serial/men_z135_uart.c | 1 -
  1 file changed, 1 deletion(-)

diff --git a/drivers/tty/serial/men_z135_uart.c b/drivers/tty/serial/men_z135_uart.c
index 9acae5f8fc32..12117b596e73 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;



--
js
suse labs



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux