Skip to content

Commit

Permalink
serial: 8250: Remove duplicate ->handle_irq initialization
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Peter Hurley authored and Greg Kroah-Hartman committed Mar 26, 2015
1 parent 51c3981 commit e6e98ce
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/tty/serial/8250/8250_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit e6e98ce

Please sign in to comment.