提交 e6e98cef 编写于 作者: P Peter Hurley 提交者: Greg Kroah-Hartman

serial: 8250: Remove duplicate ->handle_irq initialization

set_io_from_upio() already initializes ->handle_irq to
serial8250_default_handle_irq.
Signed-off-by: NPeter Hurley <peter@hurleysoftware.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 51c39814
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册