diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2015-11-08 17:29:38 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-12-14 06:59:48 +0300 |
commit | 63d8cb3f19dabb409a09b4f2b8827934ab9365a3 (patch) | |
tree | e6e253f2730c9cb0c1c152e8fb057ff95d5e139a /drivers/tty/synclinkmp.c | |
parent | 5841fc4b136b8dbab551749d2b12d71628f34635 (diff) | |
download | linux-63d8cb3f19dabb409a09b4f2b8827934ab9365a3.tar.xz |
tty: Simplify tty_set_ldisc() exit handling
Perform common exit for both successful and error exit handling
in tty_set_ldisc(). Fixes unlikely possibility of failing to restart
input kworker when switching to the same line discipline (noop case).
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/synclinkmp.c')
0 files changed, 0 insertions, 0 deletions