Skip to content

Commit 679193b

Browse files
andy-shevgregkh
authored andcommitted
serial: 8250: Let serial core initialise spin lock
Since the serial core handles spin lock initialisation, let the driver rely on it. Depends-on: f743061 ("serial: core: Initialise spin lock before use in uart_configure_port()") Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20200731123733.22754-1-andriy.shevchenko@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent f3af1b6 commit 679193b

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎drivers/tty/serial/8250/8250_port.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3194,7 +3194,6 @@ void serial8250_init_port(struct uart_8250_port *up)
31943194
{
31953195
struct uart_port *port = &up->port;
31963196

3197-
spin_lock_init(&port->lock);
31983197
port->ops = &serial8250_pops;
31993198
port->has_sysrq = IS_ENABLED(CONFIG_SERIAL_8250_CONSOLE);
32003199

0 commit comments

Comments
 (0)