serial: core: Cleanup uart_open() exit
authorPeter Hurley <peter@hurleysoftware.com>
Mon, 11 Jan 2016 04:23:59 +0000 (20:23 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Jan 2016 22:17:42 +0000 (14:17 -0800)
commitf9d1083da00514ef36a06e915f32b7304ae5b5bd
tree00e3a5adb52ce303babe8a1b4bea1504ea5e17e8
parent35373abbce3e63754f96792cc1e5a4b329d3c737
serial: core: Cleanup uart_open() exit

If aborting uart_open() unsuccessfully, retval is non-zero, so the
existing fall-through exit is equivalent.

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