diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2015-11-08 15:29:38 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-12-14 04:59:48 +0100 |
commit | 63d8cb3f19dabb409a09b4f2b8827934ab9365a3 (patch) | |
tree | e6e253f2730c9cb0c1c152e8fb057ff95d5e139a /net | |
parent | tty: Remove unused SERIAL_DO_RESTART define (diff) | |
download | linux-63d8cb3f19dabb409a09b4f2b8827934ab9365a3.tar.xz linux-63d8cb3f19dabb409a09b4f2b8827934ab9365a3.zip |
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 'net')
0 files changed, 0 insertions, 0 deletions