serial: 8250: Remove duplicate ->handle_irq initialization
authorPeter Hurley <peter@hurleysoftware.com>
Tue, 24 Feb 2015 19:25:02 +0000 (14:25 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Mar 2015 15:14:27 +0000 (16:14 +0100)
set_io_from_upio() already initializes ->handle_irq to
serial8250_default_handle_irq.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_core.c

index b7f2d6c0d0039037abe89f79df6a217f5cba6711..60247030785e3c45903b51d2e38fc778d2ad75f3 100644 (file)
@@ -3423,8 +3423,6 @@ int __init early_serial_setup(struct uart_port *port)
                p->serial_out = port->serial_out;
        if (port->handle_irq)
                p->handle_irq = port->handle_irq;
-       else
-               p->handle_irq = serial8250_default_handle_irq;
 
        return 0;
 }