serial: core: Remove extra locking in uart_write()
authorPeter Hurley <peter@hurleysoftware.com>
Thu, 16 Oct 2014 20:54:26 +0000 (16:54 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Nov 2014 02:53:55 +0000 (18:53 -0800)
commit64dbee31050d5b93b5fcda25508e4d3c69f6589c
treeb3ab35f59ea9b4da82aea851111bdd002753651c
parent2b702b9b680cd17dbdd93461dd3f66297e313809
serial: core: Remove extra locking in uart_write()

uart_start() only claims the port->lock to call __uart_start(),
which does the actual processing. Eliminate the extra acquire/release
in uart_write(); call __uart_start() directly with port->lock already
held.

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