commit | 63d8cb3f19dabb409a09b4f2b8827934ab9365a3 | [log] [tgz] |
---|---|---|
author | Peter Hurley <peter@hurleysoftware.com> | Sun Nov 08 09:29:38 2015 -0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Dec 13 19:59:48 2015 -0800 |
tree | e6e253f2730c9cb0c1c152e8fb057ff95d5e139a | |
parent | 5841fc4b136b8dbab551749d2b12d71628f34635 [diff] |
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>