diff options
author | Johannes Thumshirn <jthumshirn@suse.de> | 2015-08-06 09:16:38 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-08-14 17:14:13 -0700 |
commit | 2b9a8508cb7f50d1880e2b8bb43615afd228f738 (patch) | |
tree | 90391a82dc5a83154e3b7070051254959d6213f7 /drivers/tty | |
parent | 8117e347406278fd399b077add4e638cd017ae2d (diff) | |
download | blackbird-op-linux-2b9a8508cb7f50d1880e2b8bb43615afd228f738.tar.gz blackbird-op-linux-2b9a8508cb7f50d1880e2b8bb43615afd228f738.zip |
tty: serial: men_z135_uart.c: Don't initialize port->lock
port->lock get's initialized in uart_add_one_port(), no need to do it
in men_z135_probe().
Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r-- | drivers/tty/serial/men_z135_uart.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/tty/serial/men_z135_uart.c b/drivers/tty/serial/men_z135_uart.c index 5a41b8fbb10a..b90e7b30468b 100644 --- a/drivers/tty/serial/men_z135_uart.c +++ b/drivers/tty/serial/men_z135_uart.c @@ -839,7 +839,6 @@ static int men_z135_probe(struct mcb_device *mdev, uart->port.membase = NULL; uart->mdev = mdev; - spin_lock_init(&uart->port.lock); spin_lock_init(&uart->lock); err = uart_add_one_port(&men_z135_driver, &uart->port); |