]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita4ee3e943723ef6807ad0d27a5aec15137a26cae
tree00e3a5adb52ce303babe8a1b4bea1504ea5e17e8
parentdcc7cd895452196967ccf14578bdb855c49c5d17
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